How do I pass parms to my ISPF Edit macro

Answers were Sorted based on User's Feedback



How do I pass parms to my ISPF Edit macro..

Answer / shakila vinayagam

From command line calls use ISPEXEC "MACRO (parms)"

Is This Answer Correct ?    6 Yes 3 No

How do I pass parms to my ISPF Edit macro..

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

Post New Answer

More REXX Interview Questions

is there an aix version of oorexx?

0 Answers   IBM,


How to find or access the current level of a gdg?

0 Answers  


Is it possible to combine uni-rexx with a compiled language in any application? What applications interfaces are there?

0 Answers  


what is uni-rexx?

0 Answers   IBM,


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?

0 Answers  






How to code the db2 queries using rexx?

0 Answers  


can oorexx run ibm object rexx programs?

0 Answers   IBM,


What are the various error conditions seen in rexx?

0 Answers  


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?

1 Answers  


What is the difference between ooRexx and IBM's Object REXX for Windows?

0 Answers  


how to access data held on the jes spool?

0 Answers   IBM,


How do I access data in control blocks such as jobname?

1 Answers  


Categories