You're thinking too hard, Steven.

Read the help text for this field on WRKSYSSTS...The "Number of Jobs" count
shown on the WRKSYSSTS display represents (here is a snippet from the help
text):

The total number of user and system jobs that are
currently in the system.  The total includes:
 o   All jobs on job queues waiting to be processed.
 o   All jobs currently active (being processed).
 o   All jobs that have completed running but still have
     output on output queues to be produced.

The number of spooled files on the system does _not_ equate in any way to
the number of jobs in the system, other than the fact that as long as any
spooled files for a given job remain on the system, the job will be counted
as one of the "Jobs in System" shown on the WRKSYSSTS display.  Since a
given job can (and often does) create multiple spooled files, you can't make
the assumption that you made here.

Steve Landess
Austin, Texas
(512) 423-0935

----- Original Message -----
From: "Segars, Steven " <Steven_Segars@xxxxxxx>
To: <midrange-l@xxxxxxxxxxxx>
Sent: Monday, March 24, 2003 2:04 PM
Subject: WRKSYSSTS Problem.... I think


> I have several machines on 4.5 and 5.1. I noticed when I do a WRKSYSSTS
and
> look at the Jobs In System, it shows a number that I have always known as
> benig the total number of jobs in the system, ie... spool files, jobs
> running... ect. But now I am confused, I just displayed it and it shows:
>
> Jobs in system . . . . . :       3253
>
> When I looks at my WRKACTJOB it shows:
>
> Active jobs:   598
>
> I assume that out fo the 3253 jobs on my system, 598 of them are regular
> jobs on the WRKACTJOBS screen, counting some task and hidden jobs not
> showing up. So that should at least leave me with 2655 "other" jobs on the
> system.When I do a WRKOUTQ I see:
>
> NSMDOWN        CSTLX            6377
> QPRINT         QGPL             3679
>
> this is not counting alot of other queues that have several hundred jobs
in
> them. I just listed the ones that were in the thousands.
>
> Why doesnt the Jobs In The System total up to any of this now?
>
> Steven Segars
> AS/400 Certified Specialist/Administrator
> CSX Technology
> Work: 904-633-5650
> Fax:   904 633-1051
>
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>
>

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.