C end
C\
C\ No matter how the program got to the \PSSR, end the program
C\
C move '1' \inlr
C return
C endsr
Program for Packaging a Product—Examples
This section includes the examples in “Packaging Your Own Software Products” on
page A-1.
Program for Packaging a Product—ILE C Example
Refer to “Program for Packaging a Product—OPM RPG Example” on page A-3 for
the original example.
/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
/\ Program Name: SFTWPRDEX \/
/\ \/
/\ Program Language: ILE C \/
/\ \/
/\ Description: This example shows you the steps necessary\/
/\ to package your product like IBM's. \/
/\ \/
/\ Header Files Included: <stdlib.h> \/
/\ <signal.h> \/
/\ <string.h> \/
/\ <stdio.h> \/
/\ <qszcrtpd.h> \/
/\ <qszcrtpl.h> \/
/\ <qszpkgpo.h> \/
/\ <qlicobjd.h> \/
/\ <qusec.h> \/
/\ <qliept.h> \/
/\ \/
/\ APIs Used: QSZCRTPD - Create Product Definition \/
/\ QSZCRTPL - Create Product Load \/
/\ QSZPKGPO - Package Product Option \/
/\ QLICOBJD - Change Object Description \/
/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
#include <stdlib.h>
#include <signal.h>
#include <string.h>
#include <stdio.h>
#include <qszcrtpd.h>
#include <qszcrtpl.h>
#include <qszpkgpo.h>
#include <qlicobjd.h>
#include <qusec.h>
#include <qliept.h>
/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
/\ Function: Create_Prod_Def_Obj \/
/\ Description: Create the product definition ABCðð5ð for product \/
/\ ABC. \/
/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/
Appendix B. Original Examples in Additional Languages B-129