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

Is it not possible to trace the Macro


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sikkandhar

New User


Joined: 03 Dec 2007
Posts: 61
Location: Bangalore

PostPosted: Wed Feb 11, 2009 6:10 pm
Reply with quote

Hi All,

I have coded a macro. from my rexx program, i call that macro.
I had Trace R in that macro but still i am not able to see that during the trace.
Is it not possible to trace the macros
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Feb 11, 2009 6:15 pm
Reply with quote

Quote:

Is it not possible to trace the macros



how about some info. normally, you don't invoke a macro from a rexx script (not program).

what does your rexx script look like; and your 'macro'.
Back to top
View user's profile Send private message
Sikkandhar

New User


Joined: 03 Dec 2007
Posts: 61
Location: Bangalore

PostPosted: Wed Feb 11, 2009 6:20 pm
Reply with quote

i pass a prog name which has to be amended. i use a macro named CHMALL to make some amendments
this is how i make a call

IF RC = 0 THEN DO
"EDIT DATAID("INPUTD1") MEMBER("MBRD") MACRO(CHMALL)"
END
ELSE NOP

and in that macro, i do have Trace R option.
I have coded the line in the calling program also
Back to top
View user's profile Send private message
Sikkandhar

New User


Joined: 03 Dec 2007
Posts: 61
Location: Bangalore

PostPosted: Wed Feb 11, 2009 6:28 pm
Reply with quote

even when i put a display stt ( Say ) in the macro, am not able to see that stt at all
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Feb 11, 2009 6:37 pm
Reply with quote

well, you can not prove that the RC=0, thus dropping into the edit invocatgion.

include a SAY within the DO group just before the edit invocation.

can't do much else with all the info that you have provided.

Quote:

have coded the line in the calling program also


what program?
Back to top
View user's profile Send private message
Sikkandhar

New User


Joined: 03 Dec 2007
Posts: 61
Location: Bangalore

PostPosted: Wed Feb 11, 2009 6:57 pm
Reply with quote

is it anything like i need compile/link edit the macro after making changes..if so how?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Feb 11, 2009 7:51 pm
Reply with quote

have no idea, you have not explained anything nor have you provided any
useful information.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Feb 11, 2009 8:05 pm
Reply with quote

I would hazaed a guess that the macro is not being invoked correctly, else the SAY command would have executed.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Wed Feb 11, 2009 10:21 pm
Reply with quote

Perhaps you are executing the wrong version of the macro. That is, are you trying to test a new version but actually executing the old version?
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts XL C Trace Preprocessor Output All Other Mainframe Topics 3
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
Search our Forums:

Back to Top