EIB keyword
EIB is required for the EXEC function call. EIB indicates the address of an RX type address or register. The address or register points to an EXEC interface block, which must be constructed as follows:
RG DEC | ORG HEX | LENGTH | DESCRIPTION |
|---|---|---|---|
+0 | +0 | 4 | command length |
+4 | +4 | 4 | command address |
+8 | +8 | 4 | command address |
+8 | +8 | 4 | output format |
+12 | +C | 4 | message length |
+16 | +10 | 4 | message address |
The command length and address fields describe a storage area that must contain the input command. The $QMRAPI DISPLAY function can create this command area.
The output format field must contain a 1 or a 2 (F'1' or F'2'). F'1' indicates internal output. The $QMRAPID macro can map output blocks created with the F'1' format. F'2' indicates external output. EBCDIC formats output lines created with F'2'.
The message length and message address fields must describe an output storage area that will be filled with any messages that Message Advisor generates. Because all messages will be expanded or truncated to 80 bytes, the length should be a multiple of 80.
Related topic