Rational Developer for System z, Version 7.6

Building a local COBOL CICS® transaction with TXSeries

Creating the project.
  1. In the z/OS® Projects perspective, right-click the z/OS Projects view.
  2. Select New -> Project. The New Project window appears.
  3. Click + to expand the Examples section.
  4. Select Workstation COBOL and then COBOL Sample with CICS.
  5. Click Next.
  6. Give the new project a name. Click Finish.
Building the configuration.
  1. Right-click the new project you created.
  2. Select Properties.
  3. Open the Local COBOL Build Options property page.
  4. Set the build options to the following values:
    Option Value
    Compile Options TEST,ADATA,EXIT(ADEXIT(FTTFDBKW))
    SYSLIB c:\opt\cics\include
    Pre-processor Options CICSNT -lIBMCOB -adesvp
    Note: If you did not install TXSeries® to its default install location, change the c:\opt\cics part of the SYSLIB value to the directory where you installed TXSeries.
  5. Open the Local Link Options property page.
  6. Set the link options to the following values:

    /de c:\opt\cics\lib\cicsprIBMCOB.lib

    Note: If you did not install TXSeries to its default installation location, change the c:\opt\cics part of the second link options value to the directory where you installed TXSeries.
  7. Click OK.
Building the executable.
  1. Right-click the project.
  2. Select Rebuild Project. A subdirectory named BuildOutput appears in your project, containing a file named TIMEZONE.IBMCOB. This file is the executable you will use with TXSeries.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)