InterviewSolution
| 1. |
How To Pass Parms To Ispf Edit Macro? |
|
Answer» On the command LINE in the editor, just use the name of the macro and list the PARAMETERS behind it. E.g. if you have a macro called FINDALL and it expects 3 parameters you would specify in the command line: FINDIT 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.On the command line in the editor, just use the name of the macro and list the parameters behind it. E.g. if you have a macro called FINDALL and it expects 3 parameters you would specify in the command line: FINDIT parm1 parm2 parm3. Since you are working with REXX you could have used: You then parse the parm like this: |
|