RE: CLASSPATH in .profile not used.



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
.



Relevant Pages

  • MSSQL2000 jdbc driver on UNIX --- (again)
    ... Yes, it was classpath problem. ... I revised my .profile and then it can work. ... My environment setting are showed as below: ... But can not show anything on UNIX. ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: MSSQL2000 jdbc driver on UNIX --- (again)
    ... CLASSPATH in .profile. ... David Huang ... $SHELL ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: Anyone use variables to shorten classpath declaration?
    ... one profile sourced another, but the variable it uses as a shortcut ... isn't defined at the time the CLASSPATH is defined, however, if I ... Nigel Wade, System Administrator, Space Plasma Physics Group, ... University of Leicester, Leicester, LE1 7RH, UK ...
    (comp.lang.java.help)
  • Anyone use variables to shorten classpath declaration?
    ... Anyone use variables to shorten classpath declaration? ... where an application failed to find some jar files, ... one profile sourced another, but the variable it uses as a shortcut ...
    (comp.lang.java.help)
  • 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. ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
    (bit.listserv.ibm-main)

Loading