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


  • Subject: RE: sorting scheduled jobs in a jobq
  • From: Neil Palmer <NPalmer@xxxxxxxxxxx>
  • Date: Tue, 18 Nov 1997 18:41:12 -0500
  • Organization: NxTrend Technology - Canada

Just schedule them 1 second apart in the order you want them to run.

... Neil Palmer                                     AS/400~~~~~
... NxTrend Technology - Canada     ____________          ___  ~
... Thornhill, Ontario,  Canada     |OOOOOOOOOO| ________  o|__||=
... Phone: (905) 731-9000  x238     |__________|_|______|_|______)
... Cell.: (416) 565-1682  x238      oo      oo   oo  oo   OOOo=o\
... Fax:   (905) 731-9202         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
... mailto:NPalmer@NxTrend.com          http://www.NxTrend.com


-----Original Message-----
From:   mcrump@ballfoster.com [SMTP:mcrump@ballfoster.com]
Sent:   Tuesday, November 18, 1997 4:01 PM
To:     MIDRANGE-L@midrange.com
Subject:        Re: sorting scheduled jobs in a jobq









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


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