How do I pass parms to my ISPF Edit macro
Answers were Sorted based on User's Feedback
Answer / shakila vinayagam
From command line calls use ISPEXEC "MACRO (parms)"
Is This Answer Correct ? | 6 Yes | 3 No |
Answer / albert n
On the command line in the editor, just use the name of the
macro and list the paramters behind it. E.g. if you have a
macro called FINDALL and it expects 3 parameters you would
specify in the commandline: FINDIT parm1 parm2 parm3
When you code the MACRO the first line should be like:
Address ISREDIT "MACRO (parm1 , parm2, parm3)".
Since you are working with REXX you could have used:
Address ISREDIT "MACRO ( parm )"
You then parse the parm like this:
Parse (UPPER) Arg parm parm1 parm2 parm3
Is This Answer Correct ? | 3 Yes | 3 No |
is there an aix version of oorexx?
How to find or access the current level of a gdg?
Is it possible to combine uni-rexx with a compiled language in any application? What applications interfaces are there?
what is uni-rexx?
Can I combine uni-REXX with a compiled language in my application? What application programming interfaces are available? For example, can I share variables between uni-REXX and a compiled language?
How to code the db2 queries using rexx?
can oorexx run ibm object rexx programs?
What are the various error conditions seen in rexx?
i'm getting error while editing macro, its not even entering into the macro, getting error like 31 *-* "EDIT DATASET('"DSN"("MEM")') MACRO("CHGLINE")" +++ RC(-3) +++ ? any idea why?
What is the difference between ooRexx and IBM's Object REXX for Windows?
how to access data held on the jes spool?
How do I access data in control blocks such as jobname?