IBM Version 4 Universal Remote User Manual


 
ᑍ Fill Additional Library List Parameter
None
ᑍ Fill Folder List Parameter
None
ᑍ Let's create the product load for the ABC Product - MRM Objects
MOVE "ABC5" TO PROD-ID-NM.
MOVE SPACES TO SEC-LANG.
CALL "QSZCRTPL" USING PROD-ID-NM, QSZ-LOD-INF, SEC-LANG,
QSZ-LIB-INF, QSZ-ADD-LIB,
NBR-ADD-LB, QSZ-PRE-EXT, NBR-PE,
QSZ-FLR-LST, NBR-FLDRS, TEXT-DESC,
PUB-AUT, QUS-EC.
ᑍ If an exception occurs, the API returns the exception in the
ᑍ error code parameter. The bytes available field is set to
ᑍ zero if no exception occurs and greater than zero if an
ᑍ exception does occur.
IF BYTES-AVAILABLE OF QUS-EC > 
MOVE "QSZCRTPL" TO API-NAME,
PERFORM ERRCOD.
ᑍ Setup for Product Load for MRI Objects
ᑍ Fill Product Load Information Parameter
MOVE "ᑍLNG" TO LOD-TYPE OF QSZ-LOD-INF.
MOVE "2924" TO LOD-ID OF QSZ-LOD-INF.
ᑍ Fill Principal Library Information Parameter
MOVE "ABCPGMMRI2" TO POST-EXIT-PGM OF QSZ-LIB-INF.
ᑍ Fill Preoperation Exit Programs Parameter
MOVE "ABCPGMMRI1" TO PRE-EXT-PGM OF QSZ-PRE-EXT.
ᑍ Fill Additional Library List Parameter
None
ᑍ Fill Folder List Parameter
None
ᑍ Let's create the product load for the ABC Product - MRI Objects
MOVE "ABC29" TO PROD-ID-NM.
MOVE "ABC2924" TO SEC-LANG.
CALL "QSZCRTPL" USING PROD-ID-NM, QSZ-LOD-INF, SEC-LANG,
QSZ-LIB-INF, QSZ-ADD-LIB,
NBR-ADD-LB, QSZ-PRE-EXT, NBR-PE,
QSZ-FLR-LST, NBR-FLDRS, TEXT-DESC,
PUB-AUT, QUS-EC.
Appendix B. Original Examples in Additional Languages B-141