This final lesson will step you through how to debug the
Global Auto Mart sample using DTCN.
To create debug the Global Auto Mart sample using DTCN:
- Open the Debug perspective by selecting
from the file menu bar, Window > Open
Perspective > Debug. You may have
to select Other > Debug if
it is not listed among the initial options.
- In the Debug view, cursor over the Debug
UI Daemeon (circled red in the image) to check to make
sure it is listening on port 8001.
- To change the listening port, select the down arrow beside
the icon, and choose Change Port. In the Preferences dialog
box that appears, enter the port number into the Daemon
port text field, and click OK.
- Open CICS®. Type
the transaction DTCN.
- Enter in either a Transaction ID of GBMI or
a Program ID of GAM0VMI, GAM0VMM, GAM0VII, GAM0VSI.
- Change the Session Type to TCP.
- Enter the Port Number as 8001.
- Change the Display ID to the IP
address of the workstation with Rational® Developer
for System z® running on
it. You can easily find the IP address of this workstation while in
the Debug view, by clicking the down arrow
by the listening icon and selecting Get Workstation IP.
The IP address can then be copied out of the dialog box that appears
and pasted into the appropriate location.
- Save the changes and exit out of the DTCN transaction.
- Finally, run the program again by entering GBMI.
In the Debug perspective of your local
workspace, you should see the program open.