HP Encoder PDF417 manual Language

Page 23

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 Run-time library. In most cases the C Run-time library is the SCEELKED.

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, pre-linking, and linking the sample C program SAMPLEC in the

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 pre-link and link the SINKFILS and SAMPLEC objects with the PDF417EN and the C Run-time library. In most cases the C Run-time library is the SCEELKED.

The ISAMPLEC member in NEOMEDIA.PDF417.RSCLIB is a typical sample that one may adapt to compile pre-link and link C programs with both the PDF417EN object and the C run- time library.

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

Image 23
Contents Installation Guide Liability Table of Contents Compiling and Running the sample ILE Cobol Program Overview Preparing for Installation Installing the Encoder Windows PC-based InstallationFile Name Description Linking with the Encoder \test nmake /f samplec.mak Acucobol Unix Installation File Name Unix C compiler cc is being used Installation Guide $ make -f pruncbl.umf Micro Focus Cobol IBM Cobol MVS InstallationVBM Samplec Linking with the Encoder Cobol Installation Guide Language Sysout DD SYSOUT= Sysudump Execution Errors Restoring the encoder from tape AS/400 InstallationCompiling the font resources Binding with the Encoder Compiling and Running the sample COBOL/400 Program Compiling and Running the sample RPG/400 Program Compiling and Running the sample ILE C Program Output of the sample programs IBM S/370, S/390, AS/400 Printer Family Font Selection