You can display the job table with command DSPJOBTBL. Pressing F11 wil show you the jobs in a pending status.
Here are two links to IBM documents that helped me in setting up a scheduled job to clear the pending job table once a month.
HTTPS://WWW.IBM.COM/SUPPORT/PAGES/REMOVING-PENDING-JOB-LOGS
HTTPS://WWW.IBM.COM/DOCS/EN/I/7.5?TOPIC=SSW_IBM_I_75/APIS/QWTRMVJL.HTML
I set up a simple CL program to call the API.
PGM
DCL VAR(&SELVALUE) TYPE(*CHAR) LEN(44) +
VALUE(X'0000002C000000005CC1D3D340404040404+
05CC1D3D34040404040405CC1D3D340405CC1D3D340+
4040404040')
DCL VAR(&FORMAT) TYPE(*CHAR) LEN(8) +
VALUE('RJLS0100')
DCL VAR(&ERRVALUE) TYPE(*CHAR) LEN(8) +
VALUE(X'0000000000000000')
CALL PGM(QWTRMVJL) PARM((&SELVALUE) (&FORMAT) (&ERRVALUE))
MONMSG MSGID(CPF0000)
ENDPGM
________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Jerry Draper <midrangel@xxxxxxxxxxxxx>
Sent: Monday, November 10, 2025 3:00 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: jobs table
________________________________
CAUTION: This email originated from outside of the PENCOR network. Do not click on any links or open attachments unless the sender is known, and the content is verified as safe.
________________________________
We have a system with an unusually high number of jobs (200,000).
We were able to axe a bunch of splf but the number is still high.
We know that the IBM I keeps track of any fragment of a job (ie: spool
file) and counts that as a job until every frag is gone.
How can we assess what is keeping that number so high?
Thx,
Jerry
--
Jerry Draper, Trilobyte Software Systems, since 1976
IBM I, Network, and Connectivity Specialists, LAN/WAN/VPN
Representing WinTronix, Synapse, HiT, and others .....
(415) 457-3431 .
https://urldefense.com/v3/__http://www.trilosoft.com__;!!FgubhKw!eUQTd9waTKQzUW9e6dF1wb-MHdCxfb4dHGfO4zmJM-ZVVEIuZx8VFfPjKnOrVQbgx45lrRNtjKDXQAYww2w$
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.com/v3/__https://lists.midrange.com/mailman/listinfo/midrange-l__;!!FgubhKw!eUQTd9waTKQzUW9e6dF1wb-MHdCxfb4dHGfO4zmJM-ZVVEIuZx8VFfPjKnOrVQbgx45lrRNtjKDXipiYv0E$
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://urldefense.com/v3/__https://archive.midrange.com/midrange-l__;!!FgubhKw!eUQTd9waTKQzUW9e6dF1wb-MHdCxfb4dHGfO4zmJM-ZVVEIuZx8VFfPjKnOrVQbgx45lrRNtjKDXRJ5Tyj8$ .
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.