On Wed, 27 Mar 2013 17:45:18 -0400, Peter Relson wrote:
>
>>Since PARMDD and PARM are mutually exclusive, I should be able to
>>EXEC an existing library PROC, overriding with PARMDD.stepname=MYPARM
>>and expect the PARM coded in the PROC to be nullified, right?
>
>I do not share the expectation. It might work. You might view the
>resulting behavior as "you get what you get, you are doing something that
>is documented as not supported -- using both of mutually exclusive keys --
>even if that might not be enforced in this circumstance". But that's just
>my opinion. I am no expert on JCL overrides.
>
You're likely right. In the JCL RM, I find:
5.2.1.2 Modifying OUTPUT JCL and DD Statements
...
o If you add a parameter that is mutually exclusive with a parameter on a
procedure statement, the override operation automatically nullifies the
procedure parameter. This is the only exception to the rule that the only
way to override a parameter is to specify it explicitly.
This may apply, as the section title says, only to OUTPUT JCL and DD Statements.
Are to date any mutually exclusive keyword pairs on the EXEC statement (or on
any JCL statement other than OUTPUT and DD)?
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN