On Sat, 18 Oct 2008 09:26:14 -0500, Paul Gilmartin <[EMAIL PROTECTED]> wrote: <snip> >And this provokes a further question. Suppose I'm overriding a DD >SYSOUT statement in a PROC which specifies both class and writer. >I might variously want to do each of the following. How can I: > >o Nullify class and leave writer unchanged? > >o Nullify writer and leave class unchanged? > >o Nullify both class and writer? > >(It's plausible that a PROC might have "//SYSUT2 DD SYSOUT=(B,INTRDR)", >but for testing I'd want not to submit a job, but keep the SYSOUT in >the spool and browse with SDSF, for example. How do I nullify INTRDR?) > >Or is it simply impossible to nullify positional subparameters? > >-- gil > >----------------------------------------------------------------------
Using the following sample JCL jobstream, I received no JCL ERRORs when specifying all combinations of the SYSOUT= parameters, including null values: // SET CL='A' // SET INTRDR='INTRDR' //TESTPROC PROC //S1 EXEC PGM=IEFBR14 //DD1 DD SYSOUT=(B,INTRDR) // PEND //JS1 EXEC TESTPROC //S1.DD1 DD SYSOUT=(&CL,&INTRDR) Scott Barry SBBWorks, Inc. ---------------------------------------------------------------------- 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