RE: CLASSPATH in .profile not used.
- From: gkeuken@xxxxxxxxxxxx (Greg Keuken)
- Date: 20 Jun 2007 04:57:51 -0700
Ensure your HOME directory setting within your OMVS Segment is the same
location of your customized .profile!
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@xxxxxxxxxxxx
Behalf Of Big Iron
Sent: Wednesday, June 20, 2007 5:31 AM
To: IBM-MAIN@xxxxxxxxxxx
Subject: 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 send your message to the
listserv.
See the instructions which have been appended below. Also, you may be
interested in the MVS-OE listserv. You can find more information at
http://www2.marist.edu/htbin/wlvindex?mvs-oe.
Bill
cogitoergosum wrote:
Hi,
I have defined the CLASSPATH variable in my .profile file. Therefore,
this job step should work :
//STEP1 EXEC PGM=BPXBATCH,
// PARM='SH java HelloWorld'
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
Instead, I have this message in STDERR :
The java class is not found: HelloWorld
However, with the CLASSPATH variable defined (with the same value as
in the .profile file) in STDENV the step executes successfully. Unlike
as mentioned at Passing environment variables to BPXBATCH (http://
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/BPXZA470/11.2.3?
DT=20060602105904), the value in .profile is not bieng used.
Can someone please advise as to why CLASSPATH defined in .profile is
not bieng used ?
Regards,
Nags
PS: I came across the zOS Unix group (http://groups.google.com/group/
compunixzos). But, I did not see much activity there, so, I have
posted in this forum.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx 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 listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.
- References:
- CLASSPATH in .profile not used.
- From: Big Iron
- CLASSPATH in .profile not used.
- Prev by Date: SV: IMS & DB2 list
- Next by Date: Re: CMS/DOD idle connection requirements
- Previous by thread: Re: CLASSPATH in .profile not used.
- Next by thread: RE: CLASSPATH in .profile not used.
- Index(es):
Relevant Pages
|
Loading