Rational Developer for System z


< Previous | Next >

Lesson 3: Debug the Global Auto Mart sample using DTCN

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:

  1. 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.
  2. 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.
  3. 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.
  4. Open CICS®. Type the transaction DTCN.
  5. Enter in either a Transaction ID of GBMI or a Program ID of GAM0VMI, GAM0VMM, GAM0VII, GAM0VSI.
  6. Change the Session Type to TCP.
  7. Enter the Port Number as 8001.
  8. 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.
  9. Save the changes and exit out of the DTCN transaction.
  10. Finally, run the program again by entering GBMI.
In the Debug perspective of your local workspace, you should see the program open.
< Previous | Next >

Feedback