IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Turning Interactive Tracing on then Off in middle of a Rexx


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
PokerGuru

New User


Joined: 23 Jul 2010
Posts: 33
Location: Europe

PostPosted: Thu Jul 14, 2011 4:12 pm
Reply with quote

Hi,

Can anyone help me?

I'm trying to Turn Interactive Tracing on then Off in the middle of execution of a Rexx member.

I have researched and tried both of the following but the interactive trace continues.

Code:

TRACE ?R
code
code
code
TRACE ?R


and

Code:

TRACE ?R
code
code
code
TRACE ?O
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 14, 2011 4:28 pm
Reply with quote

Well, unless you actually tell us what the problem is - NO
Back to top
View user's profile Send private message
PokerGuru

New User


Joined: 23 Jul 2010
Posts: 33
Location: Europe

PostPosted: Thu Jul 14, 2011 4:51 pm
Reply with quote

As I said above:

the TRACE doesn't turn off or cease in code example 1 after the second
"TRACE ?R"
line of code, which I have read should happen if Trace is already in execution.

same with
"TRACE ?O"
in code example 2, Trace does not stop.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 14, 2011 4:53 pm
Reply with quote

Have you tried TRACE O
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 14, 2011 4:54 pm
Reply with quote

had you bothered to read the documentation,
i believe TRACE OFF is the command that you are looking for,
when running in background (that means batch) mode.

if in foreground (interactive mode), you can simply enter TRACE OFF.

if you are in a loop, each time a TRACE command (without the OFF keyword) is encountered, trace will be on.

RTFM
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top