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
can I port my existing applications from the mainframe or os/2? Will there be extensive changes required to do this?
can oorexx run ibm object rexx programs?
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.
Enlist the features of rexx as a programming language.
Can I cleanly uninstall oorexx?
What are the various error conditions seen in rexx?
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?
what is uni-rexx?
How to code the db2 queries using rexx?
How to run my rexx exec?
how to access data in control blocks such as jobname?
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?
can oorexx run normal rexx programs?
How to find or access the current level of a gdg?
Is it possible to combine uni-rexx with a compiled language in any application? What applications interfaces are there?