[USflag] The American Programmer [USflag]


Home
Books on Mainframe Programming
Mainframe Manuals and Tutorials
System Abend codes, Sqlcodes, VSAM/QSAM codes
Everything about the IBM AS/400 Midrange Computer - iSeries
Everything about CICS
Everything about COBOL
Everything about DB2 and SQL
Everything about IMS
Everything about Java and JavaScript
Everything about JCL and JES
Everything about REXX
  Sorting in REXX: The Bubble Sort
  REXX Password Generator
  Using REXX to capture displayed output of TSO command
  Count records in REXX
  REXX program to calculate present value of money
  REXX function to format a number in currency format
  REXX function to produce a fixed-length number
  REXX program to produce lottery numbers
  REXX: what does your phone number spell?
  REXX Practice Problems.
  Just Enough REXX Tutorial
  Setting up to Execute REXX Programs on TSO/ISPF
  How to execute a REXX program
  REXX Boolean operators
  Comparison of CLIST language and REXX
  REXX Comparison operators
  REXX Debugging: the TRACE verb
  Using REXX OUTTRAP
  Reserved REXX Variables
  Executing REXX through JCL.
  Writing ISPF Edit Macros in REXX
  REXX program to unload a PDS
  REXX book: The REXX Language on TSO
  REXX Functions Book
  QMF Procedures Written in REXX
  Using REXX Subroutines with the QMF Calc panel
  REXX error codes (RC)
  REXX programming language manuals
  Books on REXX programming
  The REXX Files
Everything about zOS, VSAM, Tivoli, Assembler
Everything about TSO, ISPF, Spufi
Site Map and Site Search

           Home   > REXX   > REXX Debugging: the TRACE verb

REXX Debugging: the TRACE verb

How do you turn on debugging/trace with REXX?
REXX Debugging: the TRACE verb



Combinations of the TRACE verb
You may not need interactive debug. You may find that one of the following will give you what you want. 
This list shows all practical combinations.



TRACE  !            		Nothing traced,
                            	Don't execute TSO commands       
   
TRACE  O (Off)       		Nothing traced
   
   
TRACE  N (Normal)    		TSO commands that fail/error out
        				(The default) 
	      			REXX verbs that fail
        
TRACE  F (Failure)   		TSO commands that don't exist
                             	or abend.
   
TRACE  E (Error)     		TSO commands that don't work 
   
TRACE  !C            		Trace TSO commands, 
                         	But don't execute them
   
TRACE  C (Commands)  		TSO commands
   
TRACE  L (Labels)    		Labels only
   
TRACE  A (All)      		Labels
					Commands
					REXX verbs
   
   


TRACE !R (Results)   		Labels
                             	Commands
                             	REXX verbs
                             	Any time a variable changes
                            	Don't execute TSO commands       

   
TRACE  R (Results)  		Labels
					Commands
                             	REXX verbs
                            	any time a variable changes
   
TRACE ?R (Results)  		Labels
                             	Commands
                             	REXX verbs
                             	Any time a variable changes
 					With interactive debug     
  
   
TRACE  I (Intermed)  		Labels
					Commands
                             	REXX verbs
                             	Any time a variable changes
                             	Intermediate results 
					Example: C = (4*3) + 2 
   
TRACE !I (Intermed)  		Labels
                             	Commands
                            	REXX verbs
                             	Any time a variable changes
                             	Intermediate results 
					Example: C = (4*3) + 2 
                            	Don't execute TSO commands       
   

TRACE ?I (Intermed)  		Labels
                            	Commands
                            	REXX verbs
                             	Any time a variable changes
                             	Intermediate results   
 					Example: C = (4*3) + 2 
                            	With interactive debug       


REXX Programming Book for TSO (published 2012)

[Books Computer]

Home Books for Computer Professionals Privacy Terms |
Site Map and Site Search Programming Manuals and Tutorials The REXX Files Top of Page |