HP Encoder PDF417 manual Cobol

Page 21

PDF417

Installation Guide

COBOL

To compile and link the sample program for COBOL:

NOTE: Compiling and testing the COBOL sample is not a required step for installation of the PDF417 Encoder. It is recommended if you will be using the COBOL 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 (ISAMLCB) has been provided in the NEOMEDIA.PDF417.RSCLIB PDS for compiling and linking the sample COBOL program SAMPLECOB in the

NEOMEDIA.PDF417.RSCLIB PDS.

The ISAMLCB member in the NEOMEDIA.PDF417.RSCLIB PDS uses the IBM supplied cataloged procedure IGYWCL in the step COBCL in order to compile the SAMPLCOB program and link its object with the load module PDF417 and the C run-time library.

The ISAMLCB member in NEOMEDIA.PDF417.RSCLIB is a typical sample that one may adapt to link COBOL programs with the PDF417 load module, and with the C run-time library.

2.Edit ‘NEOMEDIA.PDF417.RSCLIB(ISAMLCB)’ and SUBMIT it.

Confirm that the JCL is correct for your environment and make any changes as required.

A sample JCL (ISAMPLCB) has been provided in the NEOMEDIA.PDF417.RSCLIB PDS for compiling, pre-linking, and linking the sample COBOL program SAMPLECOB in the

NEOMEDIA.PDF417.RSCLIB PDS.

The ISAMPLCB member in the NEOMEDIA.PDF417.RSCLIB PDS uses the IBM supplied cataloged procedure IGYWCPL in the step COBCPL in order to compile the SAMPLCOB program, pre-link and link its object with the PDF417EN and the C run-time library.

The ISAMPLCB member in NEOMEDIA.PDF417.RSCLIB is a typical sample that one may adapt to pre-link and link COBOL programs with the PDF417EN objects, and with the C run- time library.

3.Edit ‘NEOMEDIA.PDF417.RSCLIB(ISAMPLCB)’ and SUBMIT it.

Confirm that the JCL is correct for your environment and make any changes as required.

Upon completion of the build of SAMPLCOB you can then execute the program.

4.Edit ‘NEOMEDIA.PDF417.RSCLIB(XSAMPLCB)’ and SUBMIT it.

Confirm that the JCL is correct for your environment and make any changes as required. The

XSAMPLCB member in the NEOMEDIA.PDF417.RSCLIB PDS executes the SAMPLCOB executable created above. This program generates an output file via the TPDFFONT DD card.

NeoMedia Technologies, Inc.

Page 17

Image 21
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