Hi Shane,

There's no time limit differences between batch and interactive. Ask
yourself the same question for, say, an RPG or CL program, and you'll get
the same answer in terms of basic system operation.

Hard to say what the problem is without seeing the code, but I wouldn't
be surprised if it's a directory problem. If the timing is similar, the
output may not be where you expect it. That's a complete crystal ball
guess, and likely has the same level of reliability. You probably need to
send more detail to get a good answer.


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: <Shane_Cessna@xxxxxxx>
To: <java400-l@xxxxxxxxxxxx>
Sent: Monday, June 11, 2007 2:56 PM
Subject: length of time a java pgm runs in batch...


All:

I have a java program that is taking files from the IFS and putting them
in a zip file...if I run this interactively under QSH, it runs fine...it
takes a while, but it runs fine and does what I want it to do...However,
if I run this in batch, it says that it completes normally, but the
program doesn't zip up the files...it runs a while too but just doesn't
act like it wants to do what I tell it. Is there some limit on how long a
Java program can run in batch as opposed to interactively? If so, what
can I change so that my program will run in batch?

Shane Cessna
Senior iSeries Programmer
North American Lighting, Inc.
217.465.6600 x7776
--
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 thread ...

Follow-Ups:
Replies:

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.