PDF417 | Installation Guide |
C Language
To compile and link the sample program for C:
NOTE: Compiling and testing the C sample is not a required step for installation of the PDF417 Encoder. It is recommended if you will be using the C API.
First, the encoder objects must be linked into a load module. A sample JCL (IPDFLNK) has been provided in the NEOMEDIA.PDF417.RSCLIB PDS for creating the load module PDF417 in
NEOMEDIA.PDF417.RSCLIB PDS.
1.Edit ‘NEOMEDIA.PDF417.RSCLIB(IPDFLNK)’ and SUBMIT it.
Confirm that the JCL is correct for your environment and make any changes as required. Upon completion of this job you will receive a warning: IEW2650I 5102 No module entry point provided. This is an expected message since the load module has no main().
A sample JCL (ISAMLEC) has been provided in the NEOMEDIA.PDF417.RSCLIB PDS for compiling and linking the sample C program SAMPLEC in the NEOMEDIA.PDF417.RSCLIB PDS.
The ISAMLEC member in the NEOMEDIA.PDF417.RSCLIB PDS uses the IBM supplied cataloged procedure EDCC in the steps SINKFILS and SAMPLEC in order to compile C code and store the resulting objects into an object library. Then, in the LINK step, it uses the IBM supplied cataloged procedure EDCL, in order to link the SINKFILS and SAMPLEC objects with the PDF417 load module and the C
2.Edit ‘NEOMEDIA.PDF417.RSCLIB(ISAMLEC)’ and SUBMIT it.
Confirm that the JCL is correct for your environment and make any changes as required.
A sample JCL (ISAMPLEC) has also been provided in the NEOMEDIA.PDF417.RSCLIB PDS for compiling,
NEOMEDIA.PDF417.RSCLIB PDS.
The ISAMPLEC member in the NEOMEDIA.PDF417.RSCLIB PDS uses the IBM supplied cataloged procedure EDCC in the steps SINKFILS and SAMPLEC in order to compile C code and store the resulting objects into an object library. Then, in the LINK step, it uses the IBM supplied cataloged procedure EDCPL, in order to
The ISAMPLEC member in NEOMEDIA.PDF417.RSCLIB is a typical sample that one may adapt to compile
NOTE: The COMPILE.STEPLIB has received an override in our example to interact with DSN=SYS1.SCEERUN, and DSN=SYS1.SCBCCMP. It may be the case that your system would not need to override them at all if the name of your libraries match then ones provided in the EDCC procedure.
Upon completion of the build of SAMPLEC you can then execute the program.
3.Edit ‘NEOMEDIA.PDF417.RSCLIB(XSAMPLEC)’ and SUBMIT it.
Confirm that the JCL is correct for your environment and make any changes as required.
NeoMedia Technologies, Inc. | Page 19 |