View previous topic :: View next topic
|
Author |
Message |
senthils
Active User
Joined: 15 Nov 2005 Posts: 117 Location: Chennai, India
|
|
|
|
this is the rexx
Code: |
TRACE A
ADDRESS ISREDIT
'MACRO'
"FIND PROCEDURE 8" |
this the output i am getting
Code: |
2 *-* ADDRESS ISREDIT
3 *-* 'MACRO'
>>> "MACRO"
+++ RC(20) +++
4 *-* "FIND PROCEDURE 8"
>>> "FIND PROCEDURE 8"
+++ RC(20) +++
|
can anyone let me know what i am doing wrong to get a RC 20? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
So much information in your post please answer the questions below.
Are you doing this foreground or background.
How are you invoking the macro.
Is the macro stored in a library concateneated to either SYSPROC or SYSEXEC.
Have you used ALTLIB to concatenate your own library to the previous DD names. |
|
Back to top |
|
|
senthils
Active User
Joined: 15 Nov 2005 Posts: 117 Location: Chennai, India
|
|
|
|
I am invoking this REXX from foreground, from command line inside a member in EDIT mode.
I am not sure about the third point. This particular REXX is stored in a library which is concatenated to SYSEXEC. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What do you enter on the command line to invoke the macro. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
what about /* REXX */ as first line? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
There is a big difference between the following two methods below. Please try both and see what happens.
Code: |
Command ===> macroname
****** ***************************** T
000001 /* REXX *** TO SPLIT FIXCDS REC
000002 /* ONLY THE FIRST OCCU
000003 /* TYPE 39 ERROR RECOR |
And
Code: |
Command ===> tso macroname
****** ***************************** T
000001 /* REXX *** TO SPLIT FIXCDS REC
000002 /* ONLY THE FIRST OCCU
000003 /* TYPE 39 ERROR RECOR |
|
|
Back to top |
|
|
senthils
Active User
Joined: 15 Nov 2005 Posts: 117 Location: Chennai, India
|
|
|
|
the problem was that i was entering TSO macroname and not macroname....
thanks expat and everyone for your prompt response. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
dbzTHEdinosauer wrote: |
what about /* REXX */ as first line? |
Not really required for a macro, but I must admit for good housekeeping I tend to include it as a matter of course. |
|
Back to top |
|
|
|