IBM Version 4 Universal Remote User Manual


 
Cᑍ This subroutine processes each entry returned by QSYLOBJP
C
C
Cᑍ Do until the list is complete
C
C MOVE QUSIS LST_STATUS 1
C
C LST_STATUS DOUEQ 'C'
C
Cᑍ If valid information was returned
C
C QUSIS IFEQ 'C'
C QUSIS OREQ 'P'
C
Cᑍ and list entries were found
C
C QUSNBRLE IFGT
C
Cᑍ set LSTPTR to the first byte of the User Space
C
C EVAL LSTPTR = SPCPTR
C
Cᑍ increment LSTPTR to the first List entry
C
C EVAL LSTPTR = %ADDR(ARR(QUSOLD + 1)) 5
C
Cᑍ and process all of the entries
C
C DO QUSNBRLE 6
C EXCEPT OBJ_ENTRY
C
Cᑍ after each entry, increment LSTPTR to the next entry
C
C EVAL LSTPTR = %ADDR(ARR(QUSSEE + 1)) 7
C END
C END
C
Cᑍ If all entries in this User Space have been processed, check
Cᑍ if more entries exist than can fit in one User Space
C
C QUSIS IFEQ 'P'
C
Cᑍ by resetting LSTPTR to the start of the User Space
C
C EVAL LSTPTR = SPCPTR
C
Cᑍ and then incrementing LSTPTR to the Input Parameter Header
C
C EVAL LSTPTR = %ADDR(ARR(QUSOIP + 1))
C
Cᑍ If the continuation handle in the Input Parameter Header is
Cᑍ blank, then set the List status to Complete
C
C QSYCV IFEQ ᑍBLANKS
C MOVE 'C' LST_STATUS
C ELSE
C
Cᑍ Else, call QSYLOBJP reusing the User Space to get more
Appendix B. Original Examples in Additional Languages B-109