How to pass parms to ISPF Edit macro?
Submitted by: AdministratorOn 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
Submitted by: Administrator
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
Submitted by: Administrator
Read Online IBM REXX Job Interview Questions And Answers
Top IBM REXX Questions
☺ | How to find or access the current level of a GDG? |
☺ | How to pass parms to ISPF Edit macro? |
☺ | How to Run My Rexx Exec? |
☺ | How to access data in control blocks such as jobname? |
Top Mainframe Technical Categories
☺ | IBM MainFrame Interview Questions. |
☺ | IBM AS400 Interview Questions. |
☺ | JCL Interview Questions. |
☺ | IMS DB Interview Questions. |
☺ | CICS Interview Questions. |