Building a local COBOL CICS® transaction
with TXSeries
Creating the project.
In the z/OS® Projects
perspective, right-click the z/OS Projects
view.
Select New -> Project. The New Project window appears.
Click + to expand the Examples section.
Select Workstation COBOL and then COBOL
Sample with CICS.
Click Next.
Give the new project a name. Click Finish.
Building the configuration.
Right-click the new project you created.
Select Properties.
Open the Local COBOL Build Options property
page.
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.
Open the Local Link Options property page.
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.
Click OK.
Building the executable.
Right-click the project.
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.