You are on page 1of 29

TRACE MASTER

Shivakeerthi K

Steps

  

Step 1: Copy the Macros in to VNXXX.TSO.CLIST SUBCB3TM for batch programs SUBC3OTM for Online programs. Compile the program using these macros.

Select A.16

Select Option 0 end press enter

Create PDSs for ASR Library test profiles and macro library

PDS name should be VNxxx.XTASR

.

Select Option 1 for running the job in foreground mode

Select the JCL and press enter

Select the step in the JCL

To Select Symbol Library Select option 5 and press enter

Select option 2 to enter symbol Library

Add TST1.FOODLION.SYM BOL.LIBRARY library

Select option 10 and hit enter

.

Debugging starts from procedure division. Click F10 for to execute the current step

Debugging CICS
 

Compile the program using SUBC30TM Load the programs and symbol files through CICS Trace master menu Set the breakpoints Run the transaction and Debug Log off

  

Steps

Type transaction XXT0 on CICS Screen Go to profile option and set the symbol library -TST1.FOODLION.SYMBOL.LIBRARY Go to set up  Enter cobol in command prompt  Load the program.

Load program name Xsymbols program name

Run xsymbols command

Select option 0

Symbol library

Select option 1 to go to set up

Enter COBOL in the command prompt

Load the program

XSYMBOLS Program name

Function Keys
       

PF1 PF2 PF3 PF4 PF5 PF6 PF7 PF8

-

Display Help Information Enlarge Window Remove Window / END Dump Contents of Memory Repeat Previous Command Display Data Items Scroll Up Scroll Down

Function Keys
PF9 PF10 PF11 PF12 PF13 PF14 PF15 PF16 - SWAP to ISPF - Run / Conditional Run - Step Instructions - Execute Next Statement - Program GOTO or Branch - Set a Breakpoint - Cancel a Breakpoint - Stop at Brkpt Conditionally

       

Function Keys
       

PF17 PF18 PF19 PF20 PF21 PF22 PF23 PF24

-

Change Window Size Move Window Track Backwards Track Forwards Change Window Layout Select Current Window Disassemble Object Code Retrieve Last Command

Useful Commands
ABEND BOT(B) BP BRANCH(BR) CALL CHECK (C H) Data (DA) Terminate TraceMaster Session with ABEND Scroll to Bottom of Data Set Breakpoint at COBOL Statement Transfer Program Control Pass Control to a User Program Check a Condition Expression To see the value of the variable

Useful Commands
DISPLAY (DI) GOTO NEXT RUNTO REMOVE RUNUNTIL SET Store Information in DISPLAY Window Transfer COBOL Program Control Execute One COBOL Statement Run to Specified Address Remove a COBOL Breakpoint Run Until Condition is True Assign a Value to a String Variable