|
View previous topic :: View next topic
|
| Author |
Message |
shivaganeshaa
New User
Joined: 11 Aug 2005 Posts: 14 Location: chennai
|
|
|
|
I want to write a new job which will be using BATCH JAVA program.
I have investigated figured out that BPXBATCH will not access MVS datasets Directly. Please can anybody provide additional info on how to access MVS datasets on zOS for batch Java programs.
I know one way to do this is using JZOS or JRIO but need additional info. |
|
| Back to top |
|
 |
shivaganeshaa
New User
Joined: 11 Aug 2005 Posts: 14 Location: chennai
|
|
|
|
I found out the solution... please see notes in some of below posts.
Connect to Unix Z/os using Putty with host
Use TSO id and password to connect Host.
The class files are stored under UNIX on mainframe.
Transfer the class file to host using binary mode(not ASCII). |
|
| Back to top |
|
 |
shivaganeshaa
New User
Joined: 11 Aug 2005 Posts: 14 Location: chennai
|
|
|
|
//STEP2 EXEC PGM=JVMLDM50,REGION=0M,
JVMLDM50 ---> Utility |
|
| Back to top |
|
 |
shivaganeshaa
New User
Joined: 11 Aug 2005 Posts: 14 Location: chennai
|
|
|
|
//STEPname EXEC PGM=JVMLDM50,REGION=0M,
// PARM='GoBABYgo' --------> Name of JAVA Batch program.
//INPUT DD DSN=test1,DISP=SHR
//OUTPUT DD DSN=final2,DISP=SHR
//SYSPRINT DD SYSOUT=* < System stdout
//SYSOUT DD SYSOUT=* < System stderr
//STDOUT DD SYSOUT=* < Java System.out
//STDERR DD SYSOUT=* < Java System.err
//STDENV DD *
/etc/profile
APP_HOME=/xxx/yyy/zzzz/kkkk
export JAVA_HOME=/usr/lpp/java/J6.0
export PATH=/bin:"$JAVA_HOME/bin":
LIBPATH="/lib:/usr/lib:$JAVA_HOME/bin:$JAVA_HOME/bin/classic"
export LIBPATH="$LIBPATH":
CLASSPATH="$APP_HOME"
export CLASSPATH="$CLASSPATH":
// END-OF-JCL |
|
| Back to top |
|
 |
|
|