Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Mainframe Java (z/OS UNIX)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics
Author Message
Sujatha Gowda

New User


Joined: 30 May 2008
Posts: 11
Location: Bangalore

PostPosted: Thu Jun 12, 2008 4:59 pm    Post subject: Mainframe Java (z/OS UNIX)
Reply with quote

Hi.....

Can we include the CLASSPATH, LIBPATH, JAVA_HOME etc... other Environment Variables in tha Java-DB2 program instead in JCL or in STDIN file??

Plz let me know if that can be done and the format of including the same in the program...


Thanks
Sujatha
Back to top
View user's profile Send private message
References
PostPosted: Thu Jun 12, 2008 4:59 pm    Post subject: Re: Mainframe Java (z/OS UNIX) Reply with quote

agkshirsagar

Senior Member


Joined: 27 Feb 2007
Posts: 547
Location: Mumbai,India

PostPosted: Fri Jun 13, 2008 12:35 am    Post subject: Reply to: Mainframe Java (z/OS UNIX)
Reply with quote

These are the environment variables that need to be set before you can compile or execute a program. If you put code to set these in JAVA program, then how do you plan compile that program in first place?
I am not a JAVA guy, but thought it would be interesting to see your approach.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1