On Wed, 20 Jun 2007 07:46:05 -0500, McKown, John <[EMAIL PROTECTED]> wrote:
>Now, IIRC, the reason that BPXBATCH doesn't do what you want is because >it is not a shell. The UNIX shell is what uses /etc/profile to set >environment variables. And, at that, only a "login" shell will use it. >BPXBATCH does not use it. > But OSHELL does. Here is an example //OSHELL EXEC PGM=IKJEFT01 //SYSTSPRT DD SYSOUT=* //SYSEXEC DD DSN=SYS1.SBPXEXEC,DISP=SHR //SYSTSIN DD * oshell + env; + java -version /* Mark -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group: G-ITO mailto:[EMAIL PROTECTED] z/OS and OS390 expert at http://searchDataCenter.com/ateExperts/ Systems Programming expert at http://expertanswercenter.techtarget.com/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html ---------------------------------------------------------------------- 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