PDF417
RPG
To compile and link the sample program for RPG:
NOTE: Compiling and testing the RPG sample is not a required step for installation of the
PDF417 Encoder. It is recommended if you will be using the COBOL API.
Compiling and Running the sample RPG/400 Program
The sample RPG/400 program calls the PDFVxxxx/PDFENCOD program. The source for the
sample program is in PDFVxxxx/QRPGSRC(RPGPDF). It can be compiled using the following
command:
CRTRPGPGM PGM(PDFVxxxx/RPGPDF)
The program is now ready to run. It will generate a spool file named PDF417 to the default
output queue:
CALL RPGPDF
Compiling and Running the sample ILE RPG Program
The sample ILE RPG program links with the PDFVxxxx/PDFVxxSRV service program. The
source for the sample program is in PDFVxxxx/QRPGLESRC(RPGPDF). You must first
compile the RPG module:
CRTRPGMOD MODULE(PDFVxxxx/RPGPDF)
Now create the ILE program (i.e., link it with the PDF417 service program):
CRTPGM PGM(PDFVxxxx/ILERPGPDF)
MODULE(PDFVxxxx/RPGPDF)
BNDSRVPGM(*LIBL/PDFVxxSRV)
REPLACE(*YES)
The program is now ready to run. It will generate a spool file named PDF417 to the default
output queue:
CALL ILERPGPDF
NeoMedia Technologies, Inc.
SRCFILE(PDFVxxxx/QRPGSRC)
SRCMBR(RPGPDF)
REPLACE(*YES)
SRCFILE(PDFVxxxx/QRPGLESRC)
SRCMBR(RPGPDF)
REPLACE(*YES)
Installation Guide
Page 26
Need help?
Do you have a question about the Encoder PDF417 and is the answer not in the manual?