On Thu, 25 Jun 2009 14:01:54 +0200, Michael Knigge wrote:
>Roland,
>
>> Not with YES/NO but like this
>> Note: IEFBR14 always set RC0
>
>oh my god, that simple......
>
>I always thought to myself, I could write a utility that just returns
>(so do a "B R14") and set a RC that I've specified with a PARM
>JCL-Statement (EXEC PGM=FOO,PARM='1' or something like that)
>
You can use IDCAMS to set RC to a desired value, but it must
appear in SYSIN, not in PARM.
And you can use JCL symbols in IF statements; something like:
// SET YES=0
...
// IF ( IEFBR14.RC = &YES ) ...
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html