Rational Developer for System z

Running a local COBOL CICS transaction with TXSeries

Before you can complete the tasks in this topic, you need to define a CICS® region and a listener for the region. For more information about these tasks, see the following topics:
Note: The instructions in this topic use the TXSeries Administration tool for TZSeries for Multiplatforms v7.1. If you are using a different version of TXSeries, you might need to adjust these instructions accordingly.
To run your transaction:

Copying the program to TXSeries

  1. In the BuildOutput folder of your project, select TIMEZONE.ibmcob and then select File > Export. The Export window opens.
  2. In the Export window, click + to expand the General folder, and then select File system and click Next.
  3. Click the Browse button beside the To directory field and navigate to 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.
  4. Click Finish.

Defining the program in CICS

  1. In the TXSeries Administration tool, click + to expand your CICS region name and then click Transaction.
  2. Click Add and complete the following sections of the Transaction Definition page:
    1. Click the Permanent radio button.
    2. In the Transaction Name field, specify TMZN.
    3. Click + to expand the Transaction area.
    4. In the First program name field, specify TIMEZONE.

Restarting the CICS region

  1. Select your CICS region in the All Regions page of the TXSeries Administration tool and click Stop.
  2. When the CICS region has stopped completely, select Cold from the Start Type list and then click Start.

Running the transaction

  1. From the Windows Start menu, select All Programs > IBM > TXSeries for Multiplatforms V7.1 > Start Local Terminal. The CICSTERM - CICS server selection window opens.
  2. Select the correct CICS server for your CICS region and click OK.
  3. When the CICS terminal starts, type: TMZN and press Ctrl, which is the 3270 terminal Return key.
  4. If the transaction runs properly, the CICS terminal screen shows an arrow followed by the time.

Terms of use | Feedback

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