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



I am new to system administration but I have figured out our problem and
just sharing to answer my own question.

In WRKSBMJOB, jobs are in job number order. Our job numbers rolled over in
July so as they started moving back into the range of older jobs still in
queue, they became interspersed.

The old jobs weren't going away because they still had spool files
attached to them. I have changed the SBMJOB command to detach spool files
from the job so this will no longer be an issue. The jobs will disappear
when it is finished running regardless if you have users who don't delete
spool files for two years.


P.S. Jerry you can look at other people's jobs by using WRKUSRJOB, but
those are listed are both submitted and interactive and they are listed in
alphabetical order.

Thanks

Elonna Thompson
IT Applications Manager
Mazak Corporation
(859) 342-1713







------------------------------

message: 6
date: Thu, 11 Dec 2008 10:05:55 -0600
from: Jerry Adams <Jerry@xxxxxxxxxxxxxxx>
subject: RE: WRKSBMJOB List Order

If they were submitted from that workstation. Again, at least that's the
way it works here. However, since we run in the 36 environment and each
workstation has a unique id, there may be a difference of which I am
unaware.

I hadn't thought about the job numbers wrapping. So I looked at our
production system and most are in the 320,000 range. There is one (SCPF
in QSYSWRK) that has a job number of 000000. I guess that makes sense
since it is the bootstrap, unless I'm mistaken.

Jerry C. Adams
IBM System i Programmer/Analyst
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Crispin Bates
Sent: Thursday, December 11, 2008 9:47 AM
To: Midrange Systems Technical Discussion
Subject: Re: WRKSBMJOB List Order

Have you ever WRKSBMJOB *WRKSTN. That will show you other users jobs...

----- Original Message -----
From: "Jerry Adams" <Jerry@xxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Thursday, December 11, 2008 10:25 AM
Subject: RE: WRKSBMJOB List Order


I guess I don't understand. The WRKSBMJOB command will, at least on my
system (V5R4), show only the jobs for the signed-on user (by default).
Even QSECOFR can only see "his" submitted jobs.

Jerry C. Adams
IBM System i Programmer/Analyst
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
EThompson@xxxxxxxxxxxxx
Sent: Thursday, December 11, 2008 9:10 AM
To: midrange-l@xxxxxxxxxxxx
Subject: WRKSBMJOB List Order

The below snippet was discussed a couple years ago. I have a similar
issue.
As Jonathan pointed out, pressing F18 will take you to the bottom of the
WRKSBMJOB list which is usually where the most current submitted job
shows.
Our problem is that they are no longer in that order. If I submit a job,
then go to WRKSBMJOB, my running job might be somewhere in the middle of
the list.
This is burdensome for our users who run a lot of jobs on a daily basis
whent hey need to track the status of the job when it is running.
Does anyone know how this can be changed? This just started happening in
August. On user asked about it now I have another user asking about it.

I have not loaded any PTFs since May and there haven't been any major
system changes or upgrades that would have changed this.

Any insight would be appreciated.

Thank you.

Elonna Thompson
IT Applications Manager
Mazak Corporation
(859) 342-1713

Hi Tomek

<snip>
Do you know where I can (if it is possible) change an order of showing

submit job for command WRKSBMJOB. The standard is like LILO - last job
at
the end of list (at the bottom) But can I change it to show last
submitted
job at the top of list (like LIFO)?
</snip>

Short of writing your own routine using system APIs and user indexes I
don't know of any system provided method of doing this. Why not just
use the F18 function key to jump to the bottom of the list and see the
last submitted job?

Best regards

Jonathan






CONFIDENTIALITY NOTICE: This electronic message is intended to
be viewed only by the individual or entity to whom it is
addressed. It may contain information that is privileged,
confidential and exempt from disclosure under applicable law.
Any dissemination, distribution or copying of this
communication is strictly prohibited without our prior
permission. If the reader of this message is not the intended
recipient, or the employee or agent responsible for delivering
the message to the intended recipient, or if you have received
this communication in error, please notify us immediately by
return e-mail and delete the original message and any copies of
it from your computer system.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.