Batches processed out of order in single thread queue

timallen

timallen

Well Known Member
We have a user who submits many Universal Batch Engine (UBE) jobs at once. On occasion, these jobs process out of order; that is, a job with a submission time of 16:50 reaches status "D" while a job with a submission time of 16:40 is still in "P". I would have thought that the user was wrong, but he's shown me a screen print of it happening.

The enterprise server is configured to have a single queue with only one thread.

[UPDATE]: I didn't mention earlier, but the user is not changing the priority or queue name of the jobs. Just goes to batch versions and starts launching. He *does* have a slow network at times.

Has anyone experienced this? Is there a fix? Thanks in advance.

Here is the pertinent section of the JDE.INI:

[NETWORK QUEUE SETTINGS]
QEnv=PD7333
QUser=JDE
QPassword=JDE
QueueDelay=30
UBEPriority=5
JDENETTimeout=60
UBEQueues=1
UBEQueue1=QB7333
PackageQueues=1
PKGQueue1=QB7333
SpecInstallQueues=1
SpcQueue1=QB7333
KillImmediate=1
 
Tim, check if all jobs have the same priority. They get picked from the
queue by priority, the lower the value (0-9) the higher the priority.

Gerd



B732 - ERP8, Unix, Windows, Oracle, SQL, WTS, JAS
 
Hi Gerd,
Thanks for the response. Nope, all the jobs are priority 5. One thing I have found is that a lot of the jobs on the server have a log entry like this:

6792/6852 Mon May 26 16:55:50 2003 JDEOBJ.C2645
COB0000021:<VersionListLocalLookup> is client only BSFN! cannot run on the Server

6792/6852 Mon May 26 16:55:50 2003 JDEOBJ.C2648
COB0000021:<VersionListLocalLookup> sysCode<H92> srcFile<CRUNTIME > module<X983052>.

6792/6852 Mon May 26 16:55:50 2003 JDEOBJ.C2653
COB0000021:stopping BSFN on the Server

6792/6852 Mon May 26 16:55:50 2003 JDEOBJ.C1533
COB0000012 - GetProcAddress failed CRUNTIME.dll function _VersionListLocalLookup@12 Error = 127

6792/6852 Mon May 26 16:58:07 2003 JDEERR.C1165
Fail to fetch Error Text LM0021 from Data Dictionary.

Our developer modified the UBEs to print out the company name at the top of the UBE based on the Processing Options, and ended up trying to use a BSFN that should only run on the clients. I know this is probably not a good idea, but would this error cause the Queue to run out of order?

Thanks again.
 
Are some of the jobs he is submitting running locally, and others on the server? Maybe his local jobs are running faster / slower then the server jobs?

BukoskNR
 
Back
Top