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.
BPXBATCH is not a shell, indeed, but when asked to run a
You may wish to try running the env command from BPXBATCH to see
what environment variables have been set by your .profile. Sometimes,
some processing in .profile is conditional on the settings of other
environment variables.
You will reach a wider audience if you send your message to the
: CLASSPATH in .profile not used.
You may wish to try running the env command from BPXBATCH to see
what environment variables have been set by your .profile. Sometimes,
some processing in .profile is conditional on the settings of other
environment variables.
You will reach a wider audience if you
cogitoergosum wrote:
Hi,
I have defined the CLASSPATH variable in my .profile file.
Therefore,
this job step should work :
//STEP1EXEC PGM=BPXBATCH,
// PARM='SH java HelloWorld'
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
Instead, I have this message in
You can run the shell .profile script from BPXBATCH by passing it in the
parm field:
// SET R='SH . /u/eileen/.profile;java HelloWorld run from batch'
//RUN EXEC PGM=BPXBATCH,
// PARM='R'
//STDOUT DD PATH='/u/eileen/tmp/HelloWorld.stdout',
// FILEDATA=TEXT,
//
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
-Original Message-
From: IBM Mainframe Discussion List
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Zelden
Sent: Wednesday, June 20, 2007 9:04 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: CLASSPATH in .profile not used.
snip
But OSHELL does. Here is an example
//OSHELL EXEC
7 matches
Mail list logo