HANDLE AID
| COBOL |
Java |
| EXEC CICS HANDLE AID |
ibmCics.setHandleAidItems |
Syntax
ibmCics.setHandleAidItems ( <noHandle>, new CicsHandleAidItem(CicsHandleAidOption.<AidOption>, <Label>, <Section>)... );
Note: One or multiple instances of the CicsHandleAidItem class can be added.
Parameters
- <noHandle>
- Optional boolean. If set to true, exceptions created by this command will be ignored.
- <AidOption>
- The Aid option, see the CicsHandleAidOption enum for all available options. Includes ANYKEY, CLEAR, ENTER, PF1-PF24 and others.
- <Label>
- The label to perform when the task ended abnormally.
- <Section>
- The section in the program where the label is located.
Examples
| COBOL |
Java |
EXEC CICS
HANDLE AID
ENTER(HANDLE-AID-SECTION)
ANYKEY(HANDLE-AID-SECTION)
END-EXEC.
|
ibmCics.setHandleAidItems(false,
new CicsHandleAidItem(CicsHandleAidOption.ENTER, LABEL_HANDLE_AID_SECTION, "MAIN"),
new CicsHandleAidItem(CicsHandleAidOption.ANYKEY, LABEL_HANDLE_AID_SECTION, "MAIN"));
|