Open Display Application (QUIOPNDA) API


  Required Parameter Group:


  Optional Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Open Display Application (QUIOPNDA) API initiates a UIM display application by opening the panel group that the application program specifies. The QUIOPNDA API and the Close Application (QUICLOA) API must be used in pairs to open and close each UIM display application.

Multiple applications can be opened at the same time. Each open application contains a complete set of dialog variables and active lists, and is independent of other open applications. A panel group can be opened more than once per job, but each call of the QUIOPNDA API initiates a new UIM display application and returns a unique application handle.

Authorities and Locks

Library Authority
*READ
Panel Group Authority
*USE
Panel Group Lock
*SHRRD

Required Parameter Group

Application handle
OUTPUT; CHAR(8)

The application handle for the opened application. The QUIOPNDA API returns a unique handle for each application opened. This handle must be provided as a parameter to every other UIM API that operates on the application, including the QUICLOA API, which must be used to close the application.

Qualified panel group name
INPUT; CHAR(20)

The name of the *PNLGRP object opened for this UIM application. The first 10 characters contain the name of the *PNLGRP object, and the second 10 characters contain the name of the library in which the panel group resides. These special values can be used for the library name:


Application scope
INPUT; BINARY(4)

The scope of the resources for the application. The UIM uses the scope to determine whether or not to automatically close the application when reclaim resource processing is performed through the Reclaim Resource command (RCLRSC), the Reclaim Activation Group command (RCLACTGRP), or the End Request command (ENDRQS). During reclaim resource processing, the UIM closes all applications whose scope is no longer active.

One of the following values must be used:


Exit parameter interface
INPUT; BINARY(4)

The type of parameter interface used with exit programs and programs called as a result of the CALL dialog command for the UIM application being opened.

All exit and CALL programs receive a single parameter or multiple parameters, which are space pointers to information describing the state of the UIM application.

One of the following values must be used:

For a detailed description of the structure passed for each type of exit and CALL program and for a description of the exit parameter lists, see User Interface Manager Exit Programs.

Full-screen help
INPUT; CHAR(1)

Determines whether or not the UIM help for the application is displayed in pop-up windows or with a full screen. One of the following values must be used:


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Optional Parameter Group

Open data receiver
OUTPUT; CHAR(*)

The receiver variable that is to receive the open data information requested. For the format of the open data receiver variable, see Format of Data Returned.

Length of open data receiver
INPUT; BINARY(4)

The amount of data the application program is prepared to receive. If the length specified is larger than the amount of data available, the receiver is not changed beyond the amount of data available. If the length specified is greater than the actual length of the open data receiver parameter, unpredictable results may occur.

Length of available open data
OUTPUT; BINARY(4)

The length of all open data available. All available open data is returned if enough space is provided.


Format of Data Returned

The format of the data available, returned in the open data receiver parameter, is as follows:


Error Messages



API introduced: V2R2

[ Back to top | User Interface Manager APIs | APIs by category ]