Hi John,

The previous answers are correct, but you would probably want normally to create a CL program that does any setup or has multiple processing steps and do the call to the Java class from there. Then your SBMJOB command would reference only the CL program. BTW, RUNJVA and JAVA are synonymous on the AS/400.

Once again, the "i" is better integrated.

The "i" in iSeries, System i, name du jour with an i, stands for "integrated". And, of course, to those who know, it's name is the AS/400.

Joe Sam

Joe Sam Shirah - http://www.conceptgo.com
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum: http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International? http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400

----- Original Message ----- From: "McKown, John" <John.Mckown@xxxxxxxxxxxxxxxxx>
To: "Java Programming on and around the iSeries / AS400" <java400-l@xxxxxxxxxxxx>
Sent: Thursday, February 05, 2009 1:50 PM
Subject: RE: Running Java programs in batch

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of James Perkins
Sent: Thursday, February 05, 2009 12:33 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: Running Java programs in batch

I've never used JZOS before, so I'm not sure what kind of
functionality you
are after.

However, you can just submit a RUNJVA command to batch.

James R. Perkins

JZOS bundles a nice interface with the "Job Entry System" so that it is
easy to write standard print reports and other things. It also allows
allocation of datasets via JCL DD statements (not an "i" concept as far
as I can tell) and reading them easily. The way to run Java on z/OS
without JZOS requires using z/OS UNIX (PASE equivalent) services which
don't easily allow reading and writing SPOOL files or specifying the
dataset names in standard JCL DD statements.

Once again, the "i" is better integrated. I'm really impressed with the
system from what I've read (we don't have one yet).

John McKown
Systems Engineer IV

Administrative Services Group

Administrative Services Group
9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mckown@xxxxxxxxxxxxxxxxx * www.HealthMarkets.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.