MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Java Program

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
jayram99
Beginner


Joined: 16 Aug 2004
Posts: 52
Topics: 21
Location: falls church.va,usa

PostPosted: Wed Dec 23, 2009 1:36 pm    Post subject: Java Program Reply with quote

Hi,

We have a requirement to execute a Java Program. Any input how to execute Java Program in Mainframes.

Appreciate your Help.

Jayaram
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Wed Dec 23, 2009 3:24 pm    Post subject: Reply with quote

Maybe it will help if you explain your requirement in detail.

Is this java program already written?

Why do you believe it should run on the mainframe?
_________________
All the best,

di
Back to top
View user's profile Send private message
jayram99
Beginner


Joined: 16 Aug 2004
Posts: 52
Topics: 21
Location: falls church.va,usa

PostPosted: Wed Dec 23, 2009 3:59 pm    Post subject: Java Program Reply with quote

Hi,

Mainframe Assembler program is going to create a file i.e a flat file.Java program is going to read these files and loads to DB2 database tables using db2 connect plugin.Java(IBM web sphere) is installed in Unix subsystem which come in mainframes i.e. java can run directly in mainframe (unix subsystem is available within z/os).

Can we execute the Java Program from Mainframe and If it can executed then how do we call batch program.

Regards,
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Wed Dec 23, 2009 4:14 pm    Post subject: Reply with quote

If a mainframe program is going to create a file to load into db2, why is there any need to use java at all?

Almost every system i've worked with creates data to be loaded and then loads the data using the LOAD utility for the dbms being used? What is the benefit of introducing java to this process?
_________________
All the best,

di
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed Dec 23, 2009 7:20 pm    Post subject: Reply with quote

This sounds like a case of someone wanting to use some tool they know (java jdbc or something) without learning the right way to do things. That will just introduce problems that someone else will have to fix when requirements change. Find out how people have done this for the last 40 years and don't treat the mainframe like a Windows box.
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group