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