If the enterprise server is not yet stated, you need to start it as follows:
If the window is not visible, click
(or ).Wait until the server has started. In the list of servers in Server Explorer, BANKDEMO still has a red square next to it. This is a refresh delay.
The demonstration application includes around 60 programs and just eight of them, the ones which are included in the project, are debuggable. The default debugger in Enterprise Developer is the CICS debugger. You are going to use this to debug the online Bankdemo application:
To start the debugger:
Visual Studio enters debug mode with a few new windows open in the IDE. The embedded Rumba display starts as well - if it is not started, click (the mainframe TN3270 display icon), on the debug tool bar, or click Debug > Windows > Mainframe TN3270 Display. This opens the embedded Rumba display and automatically connects the session to the enterprise server.
The application is now waiting for an event that will trigger the debugging. You now need to open the embedded Rumba display if it is not shown, and connect to your Bankdemo Rumba configuration.
The program SBANK00P starts to execute on line 001600.
You use the same features as previously to debug the application.
Although the job has completed, the debugger is still waiting for the next event. To stop debugging: