Walks you through the steps required to set
Enterprise Server
and debug
options
in
Visual Studio; then debug the ACCT transaction from
Visual Studio.
Set debug options
- In the
Solution Explorer, double-click the
Properties folder.
- Click the
Debug tab.
- Ensure
Launch is set to
CICS.
- Type
ACCT in the
Transaction field.
- Click
File > Save All.
Debug the ACCT transaction
- Click
Debug > Start Debugging.
This starts the ESACCT
enterprise server region automatically, and loads CICS into the Mainframe TN3270 Display.
- In
Host Access for the Cloud, press
Ctrl+F2 to clear the screen.
- Enter
ACCT to run the application.
In Visual Studio, the debugger stops the execution of the process and positions the cursor in the Procedure Division of the
ACCT00.cbl file.
- Step through the application in the usual manner.
- To stop debugging, click
Debug > Stop Debugging.
- To stop the server, right-click
ESACCT in the
Server Explorer, and click
Stop.
This concludes the tutorial.