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

can I redistribute oorexx freely with commercial software?

762


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.

2098


what is uni-rexx?

782


What are the functions available in rexx?

724


Enlist the features of rexx as a programming language.

792


what if I need to have the same application running on multiple platforms, such as unix and the mainframe? Does that mean I have to maintain two separate sources?

710


I just know the Panvalet dataset name, i would like to search all the members of that dataset for particular keyword through Rexx. how to achive? please suggest. Is it possible to open panvalet member in browse mode using Rexx? Your help would be appreciated very much. Thanks in advance.

5324


What are various loop types supported by rexx?

736


can oorexx run normal rexx programs?

807


Can I cleanly uninstall oorexx?

737


I want to open particular list of members inside pds.Let me know whether below code will work.if not tell me how it works INPUT='DDM.DATASET(AAA*)' X = OUTTRAP(MEMS.)

2985


how long does the install of oorexx take?

760


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?

700


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

784


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

1781