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
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.
What is the use of uni-rexx?
What are the functions available in rexx?
Is it possible to port existing applications from the mainframe or os/2? Are there major changes required to do this?
What is the difference between ooRexx and IBM's Object REXX for Windows?
What does the sample library of uni-rexx consist of?
can I port my existing applications from the mainframe or os/2? Will there be extensive changes required to do this?
What are the various error conditions seen in rexx?
have you already used rexx - even for limited purposes? Do you need to maintain a high level of productivity during your transition to unix?
what is uni-rexx?
Enlist the features of rexx as a programming language.
how to access data held on the jes spool?
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?
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.
how to access data in control blocks such as jobname?