IBM Version 4 Universal Remote User Manual


 
F
Fᑍ Header Files Included: QUSEC - Error Code Parameter
Fᑍ QUSGEN - User Space Generic Header
Fᑍ QUSLSPL - List Spooled Files
F
Fᑍ APIs Used: QUSLSPL - List Spooled Files
Fᑍ QUSCRTUS - Create User Space
Fᑍ QUSRTVUS - Retrieve User Space
F
Fᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍ
FQSYSPRT O F 132 OF PRINTER
I
Iᑍ Copy User Space Generic Header
I
I/COPY QSYSINC/QRPGSRC,QUSGEN 11
I
Iᑍ Copy API Error Code parameter
I
I/COPY QSYSINC/QRPGSRC,QUSEC
I
Iᑍ Copy List Spooled Files API include
I
I/COPY QSYSINC/QRPGSRC,QUSLSPL
I
Iᑍ Data structure to hold space name
I
ISPCNAM DS
I I 'SPCNAME ' 1 1 SPC
I I 'QTEMP ' 11 2 LIB
I
Iᑍ Data structure to hold requested key values
I
IKEYARA DS 5 7
I I 21 B 1 4KEY1
I I 216 B 5 8KEY2
I I 211 B 9 12KEY3 8
I
Iᑍ Receiver variable for QUSRTVUS
I
IRECVR DS 1
I
Iᑍ Other assorted variables
I
I DS
I B 1 4SIZ
I B 5 8START
I B 9 12LENDTA
I B 13 16KEY#
I B 17 2PAGES#
I 17 2 PAGESA
I I X'' 21 21 INTVAL
C
Cᑍ Initialize Error Code structure to accept exceptions
C
C Z-ADD QUSBNB 1
C
Cᑍ Create the User Space to hold the QUSLSPL API results
C
C CALL 'QUSCRTUS' 2
C PARM SPCNAM
C PARM 'quslspl' EXTATR 1
C PARM 2 SIZ
C PARM INTVAL
C PARM 'ᑍALL' PUBAUT 1
C PARM TXTDSC 5
C PARM 'ᑍYES' REPLAC 1
C PARM QUSBN
C
Cᑍ Call QUSLSPL to get all spooled files for ᑍCURRENT user
C
C CALL 'QUSLSPL' 3
C PARM SPCNAM
Chapter 3. Common Information across APIs—Basic (OPM) Example
3-25