How do I pass parms to my ISPF Edit macro

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

I have one input file and some 40 tables, I want to read input file and compare the input file value with the table value if it is present then we have to update with new value, this should be repeated for all 40 tables and we are reading only one input file, for this is there any REXX program or job or routine to accomplish above requirement. components of the requirements; 1. One input file 2. 40 DB2 tables 3. we have to read from the input file and compare with table value, if present then update with new value (this should be recurssive for all 40 tables for every record of input file). 4. quick help is appreciated.

2009


If I have limited experience with Rexx or it's been a long time since I've used it, what kind of help is available to get me started?

550


I want to set position for a particular text in a certain position in several of my cics maps.Please provide me with a solution. Ex: If "F1-Help" has to be set to pos(4,27) always in all the maps within a PDS.

1943


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

559


i want new rexx tool which will perform jcl chk without submitting it

1598






can oorexx run normal rexx programs?

588


is oorexx compatible with rexx?

570


Is it possible to port existing applications from the mainframe or os/2? Are there major changes required to do this?

536


what is uni-rexx?

593


Enlist the features of rexx as a programming language.

623


How to code the db2 queries using rexx?

582


What does the sample library of uni-rexx consist of?

607


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

548


how to pass parms to ispf edit macro?

646


can I redistribute oorexx freely with commercial software?

579