IBM Version 4 Universal Remote User Manual


 
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