× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



How about just creating a file with the commands/programs to run? In the
CL, DCLF that file, and process each record one at a time. The file
could be keyed by a sequence number, and have a command string field of,
say, 1024 characters or so.

That way, you have only one job. 

Francis Lapeyre
IS Dept. Programmer/Analyst
Stewart Enterprises, Inc.
E-mail: flapeyre@xxxxxxxx 


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Rosinger
Sent: Monday, January 8, 2007 6:07 AM
To: midrange-l@xxxxxxxxxxxx
Subject: executing jobs in sequence

List,

I am trying to get a feel for how best to duplicate some our nightly
batch 
job runs on the iSeries that run on our VSE system. I am open to ideas
and 
suggestions. We would of course want the same basic results and control
but 
realize things may have to be handled differently simply due to the 
differences between the two operating systems.

Here is a "brief" description of our current process....

The nightly batch run consists of many "jobs". They are, for the most
part, 
single-threaded. We do not currently have scheduling software on VSE, so

this is operator-controlled. Each "job" will have one or more "steps". A

"step" is an execution of an application program. After the jobs are 
submitted, each with any required parameters, the jobs run in sequence
with 
virtually no operator intervention required.

If a job fails, it requires an operator response which prevents the jobs

behind it from running. Depending on the nature of the problem, the
operator 
can release a "PAUSE" in that batch partition to keep the rest of the
jobs 
from executing while the failing job is re-run in a different partition.

Then the "PAUSE" is release and the rest of the jobs continue on their
merry 
way.

What is the best way to duplicate this batch process on the iSeries?

Will we need scheduling software to accomplish this?

Are the built-in iSeries scheduling capabilities sufficient?

TIA for any advice and/or ideas!


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-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.