Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Is it not possible to trace the Macro

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Sikkandhar

New User


Joined: 03 Dec 2007
Posts: 58
Location: Bangalore

PostPosted: Wed Feb 11, 2009 6:10 pm    Post subject: Is it not possible to trace the Macro
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: 6968
Location: porcelain throne

PostPosted: Wed Feb 11, 2009 6:15 pm    Post subject:
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: 58
Location: Bangalore

PostPosted: Wed Feb 11, 2009 6:20 pm    Post subject:
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: 58
Location: Bangalore

PostPosted: Wed Feb 11, 2009 6:28 pm    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Wed Feb 11, 2009 6:37 pm    Post subject:
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: 58
Location: Bangalore

PostPosted: Wed Feb 11, 2009 6:57 pm    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Wed Feb 11, 2009 7:51 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Feb 11, 2009 8:05 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Feb 11, 2009 10:21 pm    Post subject: Reply to: Is it not possible to trace the Macro
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us