Clearing Outq on AS400

pts.
Tags:
AS/400
Software
Tech support
Can the AS400 (iseries) clear outq of "SAV" status spooled file automatically without user interventions. Our AS400 is doing this and we don't know why or we cannot find the person that is doing it.

Answer Wiki

Thanks. We'll let you know when a new response is added.

This is a global setting changed with the “QSYS/CHGCLNUP” command. It doesn’t care if they have the “SAV” status. It just cares how old the spool file is.

You can go the cleanup menu “GO CLEANUP” to see other parameters.

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Iseriesguy2
    Depending on the outq, the cleanup task may be deleting your spool files. Qezjoblog is usually one that the system will cleanup automatically. If you want to figure out who or what is deleting spool files on your system, you can use the system audit journal to track who or what is deleting spool files on your system. In the audlvl system value, specify *SPLDTA as one of the things to monitor for and then use the dspjrn command to display your journal entries specifically looking for entry type of SF. This should help determine who of what is deleting spool files. Also, in the job scheduler, ensure there is not a job scheduled to run to clear outqs. In the past, I have written a CL to clean up spool files based on formtype and status so it is possible someone has written one and it has been forgotten about. Hope this helps
    0 pointsBadges:
    report
  • HowieK
    OUTQ "QEZDEBUG" is also processed by the Cleanup function.
    0 pointsBadges:
    report
  • PaulThomas
    If you are unsure who is deleting your spool files and how, then include *SPLFDTA in system value QAUDLVL and you will start getting SF (type D) entries created in QAUDJRN. These entries will tell you who is deleting your splfs.
    0 pointsBadges:
    report
  • DonKennedy
    IMHO, GO CLEANUP does not touch "normal" OUTQs, Please show me where if you know it does. Thanks.
    0 pointsBadges:
    report
  • Mutkey
    I use the a free utility "Delete Old Spoolfiles (DLTOLDSPLF) command for IBM iSeries 400 (AS/400)" It works and you can be quite selective of the sort of spoolfile you want to delete, Here is a description of it. Short description: AS/400 Utility, Deletes or moves spooled outfiles based on age in days and minutes, All outques, specfic or all but specific outques, Executing the command with no parameters will delete all spoolfiles on the system older than about a month. The Delete Old Spool Files assists cleaning up Spooled Output Files on the system, much in the same way as 'GO CLEANUP' can do with spoolfiles in QUSRSYS/QEZJOBLOG and QUSRSYS/QEZDEBUG, but including any Spooled Output File. Normally you will create a policy for your system stating for how long time you will keep which files. You can implement this policy by adding the DLTOLDSPLF command to a job scheduler (e.g. WRKJOBSCDE). Remember that (unless you use special program products) you will have no backup of spoolfiles, and just for that reason need to consider spoolfiles as 'temporary information'. When calculating the minimum age, one 'day' is calculated exactly as 24 hours (with addition of n times 24 hours if non-working days are not included). When the command is executed without specifying any parameters the following parameters are taken as default: - DAYS = 23 - 23 days worth of spoolfiles to retain - WRKONLY = *Yes - only working days are accounted for when the DAYS parameters is calculated. That is, no saturday nor sundays are taken into consideration when calculating the age of spoolfiles. - MINUTES = 0 - no minutes taken into consideration as an addition to days. Any value in this parameter is added to the number of days to ascertain the age of spoolfiles to retain - ONLY = *ALLNOTEXC - All output queues not specifically excluded in the NOT( ) parameter will be included in the deletion of old spoolfiles. - NOT = ' ' - This blank parameter means no output queues are excluded from the deletion of old spool files. - SAVE = *DELETE - This parameter indicates that spoolfiles found to exceed the DAYS parameter value, will be deleted. - STATUS = *ALL - This parameter indicates that all valid spoolfile statuses will be included in the deletion of old spoolfiles - SELECT = *ALL (User) - This parameter refers to the sub-field of USER under the SELECT. All users spoolfiles will be included in the deletion of old spoolfiles - SELECT = *ALL (Form Type) - This parameter refers to the sub-field of FORM TYPE under the SELECT. All spoolfiles form types will be included in the deletion of old spoolfiles - SELECT = *ALL (User Data) - This parameter refers to the sub-field of USER DATA under the SELECT. All spoolfiles with any string in the User Data section of the spoolfiles will be included in the deletion of old spoolfiles - SELECT = *ALL (Spool File) - This parameter refers to the sub-field of SPOOL FILE under the SELECT. All spoolfiles of any name will be included in the deletion of old spoolfiles
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following