• Subject: Re: sorting scheduled jobs in a jobq
  • From: mcrump@xxxxxxxxxxxxxx
  • Date: Tue, 18 Nov 1997 16:01:01 -0500









>Every night we submit some scheduled jobs to save data to different tapes.
>
>They all have the same job priority, they all have the same date and time
>scheduled. But they did not appear at the JOBQ in the order they were
>launched.
>
>The list looks like this:
>
>Job     User    Number  Priority        State
>TAP01   SYSOPR  545668     5            SCD
>QTAPE7  SYSOPR  545671     5            SCD
>TAP02   SYSOPR  545670     5            SCD
>QTAPE6  SYSOPR  545672     5            SCD
Interesting.  I don't know if this is a change but the help text for the
parameter SCDTIME indicates that you should expect this :-)

I quote (V3R2, V3R7, V4R1):
The order that job entries with identical SCDDATE and SCDTIME values
appear on the job queue may be different than the order in which
they arrived.  Likewise, these jobs may leave the job queue to be
processed in an order different than the order in which they were
entered.  Do not assume jobs are entered or processed sequentially
when they are scheduled to start at exactly the same time.

Work management guide states (Pg 12-2):
Scheduled jobs (*SCD) do not necessarily start in the order they appear on
the job queue when they are all scheduled to run at the same time. To make
sure they start in a specific order, vary the scheduled starting time of
each job by a minute.

This is one of those great ways of saying you should expect this but
doesn't explain why.  I will do a little more digging.....

HTH

Michael Crump
Technical Projects Leader
Ball-Foster Glass Container Corp.







+---
| 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 MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.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-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.