Tutorial: Debugging a CICS Application Running in a .NET Environment

Walks you through the process of configuring the provided ESDEMO enterprise server region to run the ACCT CICS demonstration application, and to run and debug the application from Enterprise Developer. This tutorial also serves as an installation verification for Enterprise Server for .NET.

Prerequisite

Review the Assumptions and Before you begin a tutorial sections in the Tutorials: Enterprise Server for .NET topic to ensure that your environment is set up properly.

Demonstration application - ACCT

The ACCT demonstration application is the standard example application that IBM supplies with CICS systems. It includes the following source code files, supplied with Enterprise Developer:

ACCT00.cbl
The program associated with the ACCT transaction. It displays a menu screen for the on-line account file application, which prompts the user for input. Transaction AC01 is invoked when that input is received.
ACCT01.cbl
The program associated with the AC01 transaction. Analyzes all requests, and completes those for name inquiries and record displays. For update transactions, it sends the appropriate data entry screen and sets the next transaction identifier to AC02, which completes the update operation. For print requests, it starts transaction AC03 to do the actual printing.
ACCT02.cbl
The program associated with the AC02 transaction. It completes requests for account file updates (adds, modifies, and deletes), after the user entered the update information.
ACCT03.cbl
The program associated with the AC03 transaction. It completes a request for printing of a customer record, which was processed initially by transaction AC01.
ACCT04.cbl
The program associated with the AC04 transaction. It is a general purpose error routine that is invoked by other programs in the online account file application when an unrecoverable error has occurred. It sends a message to the input terminal describing the type of error and prompts the operator to report it. It then exits, backing out any updates made in the uncompleted transaction.
acctset.bms
The BMS mapset used by the ACCT application.
ACCTREC.cpy
The record definition for the ACCTFIL VSAM file used by the application.

Sequence

To complete this tutorial, progress through these topics in the order presented here. The bottom of each topic provides Next topic and Previous topic navigational links to help you proceed in the proper sequence: