Tuesday, May 5, 2015

Compile and run a local COBOL/CICS App


We will be using a sample COBOL/CICS program provided by the tool (RDz).

Topics

  1. Select the sample COBOL/CICS program
  2. Set the appropriate compile options for TXSeries 7.1

Select the sample COBOL/CICS program

  1. Select File\New/Example
  2. Select Workstation\COBOL Sample with CICS and click Next.
  3. Enter the following information and click Finish.  When you click Finish, the COBOL source code is automatically compiled.
    - Project name - COBOLCICSLocal
    - Use default - check
    - COBOL CICS Sample Property Group - check

  4. Review the compiled listing and fix any errors if any.

Edit the associated Property Group tabs and set the following:

  1. Categories tab
  2. COBOL tab
    SYSLIB = C:\OPT\CICS\INCLUDE
    CICS Options
    Check the Checkbox
    CICS Options = CICSNT -lIBMCOB -adesvp
  3. Link tab
    Select DLL
    Link Options =
     /de c:\opt\cics\lib\cicsprIBMCOB.lib


No comments:

Post a Comment