View previous topic :: View next topic |
Author |
Message |
jayram99 Beginner
Joined: 16 Aug 2004 Posts: 52 Topics: 21 Location: falls church.va,usa
|
Posted: Wed Dec 23, 2009 1:36 pm Post subject: Java Program |
|
|
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 |
|
 |
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Wed Dec 23, 2009 3:24 pm Post subject: |
|
|
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 |
|
 |
jayram99 Beginner
Joined: 16 Aug 2004 Posts: 52 Topics: 21 Location: falls church.va,usa
|
Posted: Wed Dec 23, 2009 3:59 pm Post subject: Java Program |
|
|
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 |
|
 |
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Wed Dec 23, 2009 4:14 pm Post subject: |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Wed Dec 23, 2009 7:20 pm Post subject: |
|
|
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 |
|
 |
|
|