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

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

0 Answers   IBM,


I'm new to rexx. How to code rexx in jcl to read in a lpar cpu usage file and select 1. date, time 2. some system names 3. cpu usage for each system. The input file has hourly reporting. The output file (CSV)is for excel use. Run in batch mode. Output in FB.

1 Answers  


How do I Run My Rexx Exec.?

2 Answers  


is there an aix version of oorexx?

0 Answers   IBM,


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.)

0 Answers   Mind Tree,






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

0 Answers  


If there are a set of statements and each has a word "value" in it, If I want to display all these statements so that the word "value" is aligned, then how do I code this in REXX. e.g - The value of X is Y. Wot is its value? Do u know its value? I want to know its value.

1 Answers  


How do I find or access the current level of a GDG?

2 Answers  


is oorexx compatible with rexx?

0 Answers   IBM,


I am new to rexx db2 ,can anyone help me by expalinin how to code the db2 queries using rexx,and also plz send some link and examples using db2 queries.

3 Answers  


When will a port of ooRexx to "XYZ" be available?

0 Answers  


Can anyone provide me the source code for LOC(lines of code) counter written in REXX language which can run on IBM mainframe z/OS V1R4. The LOC counter should be able to count the comments,lines of code,blank lines in a COBOL program and JCL's

0 Answers   Wipro,


Categories