|
-----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.
SBMJOB CMD(RUNJVA CLASS(package.YourClass)) CPYENVVAR(*YES)
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
IT
Administrative Services Group
HealthMarkets(r)
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
Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential or proprietary information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.
--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.