Rational Developer for System z, Version 7.6

Running a local COBOL CICS transaction with TXSeries

To run your transaction, you must first copy your executable program to TXSeries®.
  1. Right-click 'TIMEZONE.IBMCOB' from the BuildOutput subdirectory of your project. Select Export
  2. Select File system. Click Next.
  3. In the next window, there is a "To directory" field. Make sure this directory contains the name of the bin directory of your TXSeries CICS® region. For a CICS region called CICSREGN in the default path, the value would be:

    C:\var\cics_regions\CICSREGN\bin

Defining the program in CICS.
  1. Right-click your CICS region in the TXSeries Administration Tool. Select Resources, then Transaction.
  2. From the Transactions pull-down menu, select New A transaction definition window box appears.
  3. For this example, name your transaction TMZN.
  4. Click the Transaction tab.
  5. Choose "TIMEZONE" as the first program for the transaction.
  6. Click Permanent.
Restarting the CICS region.
  1. Right-click your CICS region in the TXSeries Administration Tool. Select Stop.
  2. When the CICS region has stopped completely, right-click the region. Select Start.
  3. When you are prompted, select Cold Start.
Running the transaction.
  1. From the TXSeries Administration tool, select CICS Terminal from the Subsystem pull-down menu.
  2. Select the correct CICS server for your CICS region when you are prompted.
  3. Once the CICS terminal starts, type: TMZN
  4. Press Control, which is the 3270 terminal Return key.
  5. If the transaction runs properly, you will see an arrow followed by the time on your CICS terminal screen.

Terms of use | Feedback

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