An exit program for handling a cursor prompt request can be specified on the PROMPT attribute of the data item (DATAI), data item extender (DATAIX), and list column (LISTCOL) tags. This attribute specifies the name of a dialog variable identifying the program to call.
This dialog variable cannot be blanks or nulls. The UIM cannot process a prompt request without the exit program.
Normally, the exit program displays a selection list panel. Such a list panel allows the user to select one or more entries from a list of possible choices. The application then sets the selected choices in the appropriate dialog variables, which are shown when the UIM redisplays the panel where the prompt function was requested.
The exit and cancel flags for the job are not reset before the exit program is called, and the flags are not checked after the exit program returns control to the UIM. Therefore, the exit and cancel flags should not be turned on by the exit program.
QSYSINC Member Name: EUICSEX
The interface level supported by this structure, indicating which fields and values are available for the current interface level.
Set to the following value:
8 | The exit program is called to provide cursor-sensitive prompting. |
The application handle of the application currently being processed by the UIM.
The name of the panel currently being processed by the UIM.
One of the following values identify the type of panel element prompt:
1 | Prompts for a data item (DATAI tag). |
2 | Prompts for a data item extender (DATAIX tag). |
3 | Prompts for a list column (LISTCOL tag). |
The name of the dialog variable where the cursor was positioned when the prompt function was requested.
The name of the list where the cursor was positioned when the prompt function was requested. This field is set only when the panel element type field indicates a LISTCOL tag is prompted.
The list entry handle where the cursor was positioned when the prompt function was requested. This field is set only when the panel element type field indicates a LISTCOL tag is prompted.
The description of parameters listed in the following table is the same as the corresponding field in the structure for a single parameter interface. The positions listed for each field in the structure do not apply to the multiple parameter interface.
1 | Type of call | Input | Binary(4) |
2 | Application handle | Input | Char(8) |
3 | Panel name | Input | Char(10) |
4 | Panel element type | Input | Char(1) |
5 | Dialog variable name | Input | Char(10) |
6 | List name | Input | Char(10) |
7 | List entry handle | Input | Char(4) |
Top | User Interface Manager (UIM) APIs | APIs by category |