IBM Version 4 Universal Remote User Manual


 
Program for Packaging a Product—ILE RPG Example
Refer to “Program for Packaging a Product—OPM RPG Example” on page A-3 for
the original example.
Fᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍ
Fᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍ
F
FᑍProgram Name: SFTWPRDEX
F
FᑍLanguage: ILE RPG
F
FᑍDescriptive Name: Software Product Example
F
FᑍDescription: This example shows you the steps necessary to
Fᑍ package your product like IBM products.
F
FᑍHeader Files Included: QUSEC - Error Code Parameter
Fᑍ QSZCRTPD - Create Product Definition API
Fᑍ QSZCRTPL - Create Product Load API
Fᑍ QSZPKGPO - Package Product Option API
F
Fᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍ
Fᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍᑍ
F
FQPRINT O F 132 PRINTER OFLIND(ᑍINOF) USROPN
D
Dᑍ Error Code parameter include. As this sample program
Dᑍ uses /COPY to include the error code structure, only the first
Dᑍ 16 bytes of the error code structure are available. If the
Dᑍ application program needs to access the variable length
Dᑍ exception data for the error, the developer should physically
Dᑍ copy the QSYSINC include and modify the copied include to
Dᑍ define additional storage for the exception data.
D
D/COPY QSYSINC/QRPGLESRC,QUSEC
D
Dᑍ Create Product Definition API Include
D
D/COPY QSYSINC/QRPGLESRC,QSZCRTPD
D
Dᑍ Create Product Load API Include
D
D/COPY QSYSINC/QRPGLESRC,QSZCRTPL
D
Dᑍ Package Product Option API Include
D
D/COPY QSYSINC/QRPGLESRC,QSZPKGPO
D
Dᑍ Compile Time Array
D
DOBJ_INFO S 41 DIM(15) CTDATA PERRCD(1)
D
DOBJ_INFO_I DS BASED(OBJ_PTR)
D OBJ_NAME 1
D OBJ_TYPE 1
D PRD_OPT_ID 4
D PRD_OPT_LD 4
D LP_ID 13
B-144 System API Programming V4R1