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



At 09:09 AM 4/24/98 -0400, Steve Raisor wrote: 
>
> We have a EDI job we wish to run once a hour...the AS/400 job scheduler only
> seems to allow a job to be run once a day.  Besides the obvious of placing
> the entries on the scheduler 8 to 10 times does anyone have any ideas of how
> to accomplish this??  I have thought about delay jobs and the such, but if
> the system were to be powered off during the day...what could be done to
> start the process at the right place??  Thanks for your help in advance!!


Steve,

You could start the job with an autostart job entry and use DLYJOB to wake it
up once an hour. If the system ends when it's processing, you would need to use
some kind of checkpoint logic to restart in the right place. I've used a data
area for this a few times. When the program starts, it reads the data area and
then branches to the appropriate spot based on the value it finds. When the
program finishes processing, it resets the data area to some recognizable
initial value. Each time a job step completes, it updates the data area with a
value that will cause the next step to be executed on startup.

hth
Pete


Pete Hall
peteh@inwave.com 
http://www.inwave.com/~peteh/

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.