Charles, I tested it to confirm what I thought I had always known: a blank
DD override will not logically delete a DD statement in a PROC, it simply
leaves it alone.  Look at your allocation messages.

On Thu, Dec 9, 2010 at 3:07 PM, Charles Mills <charl...@mcn.org> wrote:

> Yup.
>
> Here's the real data. Case 1:
>
> //PLI.STEPLIB   DD DSN=TCC001.V300.LOADPDSE,DISP=SHR
> +/STEPLIB  DD  DSN=&LNGPRFX..SIELCOMP,DISP=SHR
> IEFC653I SUBSTITUTION JCL - DSN=IEL.V1R1M1.SIELCOMP,DISP=SHR
> //              DD
> +/         DD  DSN=&LIBPRFX..SCEERUN,DISP=SHR
> IEFC653I SUBSTITUTION JCL - DSN=CEE.SCEERUN,DISP=SHR
>
> And Case 2:
>
> //GO.STEPLIB    DD
> +/STEPLIB  DD  DSN=&LIBPRFX..SCEERUN,DISP=SHR
> IEFC653I SUBSTITUTION JCL - DSN=CEE.SCEERUN,DISP=SHR
>
> Charles
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
> Behalf
> Of Scott Rowe
> Sent: Thursday, December 09, 2010 11:56 AM
> To: IBM-MAIN@bama.ua.edu
> Subject: Re: Overriding STEPLIB
>
> Are you sure?
>
> On Thu, Dec 9, 2010 at 2:48 PM, Charles Mills <charl...@mcn.org> wrote:
>
> > Ha! Perfect! Works for problem 1 and 2 also. You can just code
> >
> > //PSTEP.STEPLIB  DD
> >
> > Thanks,
> >
> > Charles
> >
> > -----Original Message-----
> > From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
> > Behalf
> > Of carlos roberto visconde
> > Sent: Thursday, December 09, 2010 11:19 AM
> > To: IBM-MAIN@bama.ua.edu
> > Subject: Re: Overriding STEPLIB
> >
> > You can do:
> >
> > //PSTEP.STEPLIB DD
> > //            DD
> > 2010/12/9 Charles Mills <charl...@mcn.org>
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> > Search the archives at http://bama.ua.edu/archives/ibm-main.html
> >
>
> CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains
> confidential and privileged information intended only for the addressee.
> If you are not the intended recipient, please be advised that you have
> received this material in error and that any forwarding, copying, printing,
> distribution, use or disclosure of the material is strictly prohibited.
> If you have received this material in error, please (i) do not read it,
> (ii) reply to the sender that you received the message in error, and
> (iii) erase or destroy the material. Emails are not secure and can be
> intercepted, amended, lost or destroyed, or contain viruses. You are deemed
> to have accepted these risks if you communicate with us by email. Thank
> you.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>

CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains
confidential and privileged information intended only for the addressee.
If you are not the intended recipient, please be advised that you have
received this material in error and that any forwarding, copying, printing,
distribution, use or disclosure of the material is strictly prohibited.
If you have received this material in error, please (i) do not read it,
(ii) reply to the sender that you received the message in error, and
(iii) erase or destroy the material. Emails are not secure and can be
intercepted, amended, lost or destroyed, or contain viruses. You are deemed
to have accepted these risks if you communicate with us by email. Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to