Leonard,

I'm not sure if I understand the question.
DD STDENV contains lines that set environment variables prior to
execution of a shell or program:

VARNAME=VALUE

AFAIK, it is always used by BPXBATCH if present.
See: SA22-7802 "z/OS Unix System Services Command Reference" Appendix D.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

PS> For a better, free alternative to BPXBATCH, see:
http://dovetail.com/products/cozbatch.html

On Fri, Oct 30, 2009 at 8:20 AM, Leonard Sasso <lsa...@csc.com> wrote:
> In the JCL below, what "tells" the "BPXBATCH" program to execute the
> commands in the file specified on the STDENV DD" ?
> //PDLSDI15     EXEC PGM=BPXBATCH,
> //             PARM='SH sftp -b /tmp/sftp -F /gwc/ssh/config
> //               use...@someaddress.com'
> //STDOUT       DD  PATH='/tmp/&SYSUID..STDOUT',
> //             PATHOPTS=(OWRONLY,OCREAT,OTRUNC),PATHMODE=SIRWXU
> //STDENV       DD  DSN=FGC.GC.LOS.TMPR.SFTP.PWPARMS,DISP=SHR
>
> I look forward to your response.
>
>
> Thank You.
>
> Len Sasso
>
>
>
> RDC Operations - Systems Administrator
> CSC
> Information Technology Infrastructure Services (ITIS)
> | p: 518.257-4209 | m: 518.894-0879 | f: 518.257-4300 | lsa...@csc.com |
> www.csc.com
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery.
> NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
> any order or other contract unless pursuant to explicit written agreement
> or government initiative expressly permitting the use of e-mail for such
> purpose.
>
> ----------------------------------------------------------------------
> 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

Reply via email to