Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
BPXBATCH will not access MVS datasets Directly

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
shivaganeshaa

New User


Joined: 11 Aug 2005
Posts: 14
Location: chennai

PostPosted: Sun Mar 27, 2011 4:00 am    Post subject: BPXBATCH will not access MVS datasets Directly
Reply with quote

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
View user's profile Send private message

shivaganeshaa

New User


Joined: 11 Aug 2005
Posts: 14
Location: chennai

PostPosted: Tue May 10, 2011 7:47 pm    Post subject:
Reply with quote

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
View user's profile Send private message
shivaganeshaa

New User


Joined: 11 Aug 2005
Posts: 14
Location: chennai

PostPosted: Tue May 10, 2011 7:47 pm    Post subject:
Reply with quote

//STEP2 EXEC PGM=JVMLDM50,REGION=0M,



JVMLDM50 ---> Utility
Back to top
View user's profile Send private message
shivaganeshaa

New User


Joined: 11 Aug 2005
Posts: 14
Location: chennai

PostPosted: Tue May 10, 2011 7:50 pm    Post subject: [b]The final JCL [/b]
Reply with quote

//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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RACF- How to find the Last access of ... rahul shanmuganatan All Other Mainframe Topics 6 Thu Jun 21, 2018 3:19 pm
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm
No new posts Creation of Datasets dynamically on t... Raghu M N DFSORT/ICETOOL 8 Fri Mar 16, 2018 12:56 am
No new posts Enterprise PL/I - dynamic allocation ... prino PL/I & Assembler 1 Mon Jan 29, 2018 10:17 pm
No new posts User access certification In Mainfram... Virendra Shambharkar All Other Mainframe Topics 4 Tue Oct 03, 2017 12:32 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us