[USflag] The American Programmer [USflag]
Home Programming Books for Computer Professionals Privacy Terms
           Home   > Programming   > 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       






[Books Computer]

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

[link page]