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

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

0 Answers  


how to pass parms to ispf edit macro?

0 Answers   IBM,


is oorexx compatible with ibm object rexx?

0 Answers   IBM,


how to access data held on the jes spool?

0 Answers   IBM,


I want to code a REXX Program in order to load many tables in a database simultaneously in a batch fashion. Currently batch codes ar available in which only one job is submitted at a time and this loads only one table. My requirement is that many tables should be loaded at a time when one Job is submitted and can this be done using REXX Tool??? I want code snippet or the coding for this , please

1 Answers  






why is there no os/2 (ecs) port of oorexx?

0 Answers   IBM,


what is uni-rexx?

0 Answers   IBM,


Suppose I want to code a rexx program in order to get the inputfile and output files of jcl. I want code snippet or the coding for this?

0 Answers  


how to access data in control blocks such as jobname?

0 Answers   IBM,


does uni-rexx give me any capabilities designed specifically for the unix environment?

0 Answers   IBM,


How to code the db2 queries using rexx, and also plz send some link and examples using db2 queries?

0 Answers  


i want to code a rexx program in order to get the inputfile and output files of jcl. i want code snippet or the coding for this , please

1 Answers  


Categories