IBM Version 4 Universal Remote User Manual


 
Fᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍ
Fᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍ
F
FQPRINT O F 132 PRINTER UC
I
Iᑍ Error Code parameter include. As this sample program
Iᑍ uses /COPY to include the error code structure, only the first
Iᑍ 16 bytes of the error code structure are available. If the
Iᑍ application program needs to access the variable length
Iᑍ exception data for the error, the developer should physically
Iᑍ copy the QSYSINC include and modify the copied include to
Iᑍ define additional storage for the exception data.
I
I/COPY QSYSINC/QRPGSRC,QUSEC
I
Iᑍ Formats for the Retrieve Exit Information API.
I
I/COPY QSYSINC/QRPGSRC,QUSREG
I
Iᑍ Miscellaneous data
I
I DS
I I 'EXAMPLE_EXIT_POINT ' 1 2 EPNTNM
I I -1 B 21 24EPGMNB
I I 35 B 25 28RCVSZ
I B 29 32X
I B 33 36Y
I 37 57 CALLPG
IRCV DS 35
C
Cᑍ Beginning of mainline
C
Cᑍ Retrieve the exit point information first. If the current
Cᑍ number of exit programs is not zero, retrieve the exit
Cᑍ programs. It is not necessary to call for the exit point
Cᑍ information to determine if the exit point has any exit
Cᑍ programs. It is done here for illustrative purposes only.
Cᑍ You can make one call to the API for the exit program
Cᑍ information and check the number of exit program entries
Cᑍ returned field to see if there are any exit programs to call.
C
Cᑍ Initialize the error code to inform the API that all
Cᑍ exceptions should be returned through the error code parameter.
C
C Z-ADD16 QUSBNB
C
Cᑍ Blank out the continuation handle to let the API know that this
Cᑍ is a first attempt at the retrieve operation.
C
C MOVE ᑍBLANKS CONTHD 16
C
Cᑍ Call the API to retrieve the exit point information
C
C CALL 'QUSRTVEI'
C PARM CONTHD
C PARM RCV
C PARM RCVSZ
C PARM 'EXTI1'FORMAT 8
B-72 System API Programming V4R1