View previous topic :: View next topic
|
Author |
Message |
Sikkandhar
New User
Joined: 03 Dec 2007 Posts: 61 Location: Bangalore
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
Sikkandhar
New User
Joined: 03 Dec 2007 Posts: 61 Location: Bangalore
|
|
|
|
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 |
|
|
Sikkandhar
New User
Joined: 03 Dec 2007 Posts: 61 Location: Bangalore
|
|
|
|
even when i put a display stt ( Say ) in the macro, am not able to see that stt at all |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
Sikkandhar
New User
Joined: 03 Dec 2007 Posts: 61 Location: Bangalore
|
|
|
|
is it anything like i need compile/link edit the macro after making changes..if so how? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
have no idea, you have not explained anything nor have you provided any
useful information. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I would hazaed a guess that the macro is not being invoked correctly, else the SAY command would have executed. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
|