Troubleshooting
Problem
This document discusses an issue where the Work with Spooled Files (WRKSPLF) command does not show all of a user's spooled files when using basic assistance level.
Resolving The Problem
This document discusses an issue where the Work with Spooled Files (WRKSPLF) command does not show all of a user's spooled files when using basic assistance level. This can occur under the following circumstances:
| o | When the WRKSPLF command is used with the Assistance level (ASTLVL) parameter set to *BASIC, |
| o | When the WRKSPLF command is used with the ASTLVL parameter set to *USRPRF when the user profile has the Assistance level (ASTLVL) parameter set to *BASIC, |
| o | When the WRKSPLF command is used with the ASTLVL parameter set to *PRV or using the default value of *PRV when the last use of the WRKSPLF command was using basic assistance level, or |
| o | When the WRKSPLF command is used with the ASTLVL parameter set to *INTERMED and the F21 (Select assistance level) key has been used to set the assistance level to 1 (Basic). |
The Work with Spooled Files (WRKSPLF) command lets you select which spooled files to work with by selecting the user, print device, form type, user data, ASP, and spooled file:
| Work with Spooled Files (WRKSPLF) Type choices, press Enter. Select files for: User . . . . . . . . . . . . . > QSYSOPR Name, generic*, *CURRENT... Print device . . . . . . . . . *ALL Name, *ALL, *OUTQ Form type . . . . . . . . . . *ALL Form type, *ALL, *STD User data . . . . . . . . . . *ALL User data, generic*, *ALL ASP . . . . . . . . . . . . . *ALL 1-32, *ALL, *ASPDEV Spooled file . . . . . . . . . *ALL Name, generic*, *ALL Job name . . . . . . . . . . . . *ALL Name, generic*, *ALL User . . . . . . . . . . . . . Name, generic*, *ALL Number . . . . . . . . . . . . 000000-999999, *ALL More... F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys |
and also lets you select the assistance level:
| Work with Spooled Files (WRKSPLF) Type choices, press Enter. Time period: Start time and date: Beginning time . . . . . . . . *AVAIL Time, *AVAIL Beginning date . . . . . . . . *BEGIN Date, *BEGIN End time and date: Ending time . . . . . . . . . *AVAIL Time, *AVAIL Ending date . . . . . . . . . *END Date, *END ASP device . . . . . . . . . . . * Name, *, *SYSBAS, *CURASPGRP Output . . . . . . . . . . . . . * *, *PRINT Additional Parameters Display format . . . . . . . . . *INLENV *INLENV, *S36FMT, *NORMAL Assistance level . . . . . . . . *PRV *PRV, *USRPRF, *BASIC... Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys |
Working with All Spooled Files for a User when Using Basic Assistance
By default, working with spooled files in basic assistance will exclude system output, such as QPJOBLOG spooled files or job logs. For example:
| Work with Printer Output System: S10ABCDE User . . . . . . QSYSOPR Name, *ALL, F4 for list Type options below, then press Enter. To work with printers, press F22. 2=Change 3=Hold 4=Delete 5=Display 6=Release 7=Message 9=Work with printing status 10=Start printing 11=Restart printing Printer/ Opt Output Status PRT01 DSPBCKSTS Printer stopped (use Opt 10) DSPBCKSTS Printer stopped (use Opt 10) Bottom F1=Help F3=Exit F5=Refresh F6=Completed printer output F11=Dates/pages/forms F20=Include system output F24=More keys |
To work with system output in addition to all other spooled files, press the F20 (Include system output) key. For example:
| Work with Printer Output System: S10ABCDE User . . . . . . QSYSOPR Name, *ALL, F4 for list Type options below, then press Enter. To work with printers, press F22. 2=Change 3=Hold 4=Delete 5=Display 6=Release 7=Message 9=Work with printing status 10=Start printing 11=Restart printing Printer/ Opt Output Status PRT01 QEZBKTMTUE Printer stopped (use Opt 10) QEZBKTMMON Printer stopped (use Opt 10) QEZBKTMTUE Printer stopped (use Opt 10) QEZBKTMWED Printer stopped (use Opt 10) QEZBKTMTHU Printer stopped (use Opt 10) QEZBKTMFRI Printer stopped (use Opt 10) QEZBKTMSAT Printer stopped (use Opt 10) DSPBCKSTS Printer stopped (use Opt 10) QEZBKTMMON Printer stopped (use Opt 10) More... F1=Help F3=Exit F5=Refresh F6=Completed printer output F11=Dates/pages/forms F20=Include system output F24=More keys |
Working with All Spooled Files for a User by Using Intermediate Assistance
Another option would be to work with spooled files using intermediate assistance level by pressing the F21 (Select assistance level) key and selecting 2=Intermediate. For example:
| Work with Printer Output ................................................................ m: S10ABCDE : Select Assistance Level : : : : Current assistance level . : Basic : ss F22. : : 7=Message : : rinting : Type choice below, then press Enter. : : : : Assistance level . . . . . 2 1=Basic : : 2=Intermediate : : : : : : : : F1=Help F12=Cancel : : : :..............................................................: Bottom F1=Help F3=Exit F5=Refresh F6=Completed printer output F11=Dates/pages/forms F20=Include system output F24=More keys |
This will result in working with spooled file using intermediate assistance level, which is indicated by showing the Work with All Spooled Files screen instead of the Work with Printer Output screen:
| Work with All Spooled Files Type options, press Enter. 1=Send 2=Change 3=Hold 4=Delete 5=Display 6=Release 7=Messages 8=Attributes 9=Work with printing status Device or Total Cur Opt File User Queue User Data Sts Pages Page Copy QPJOBLOG QSYSOPR PRT01 QEZBKTMTUE RDY 3 1 QPJOBLOG QSYSOPR PRT01 QEZBKTMMON RDY 3 1 QPJOBLOG QSYSOPR PRT01 QEZBKTMTUE RDY 3 1 QPJOBLOG QSYSOPR PRT01 QEZBKTMWED RDY 3 1 QPJOBLOG QSYSOPR PRT01 QEZBKTMTHU RDY 3 1 QPJOBLOG QSYSOPR PRT01 QEZBKTMFRI RDY 3 1 QPJOBLOG QSYSOPR PRT01 QEZBKTMSAT RDY 2 1 QPEZBACK QSYSOPR PRT01 DSPBCKSTS RDY 2 1 QPJOBLOG QSYSOPR PRT01 QEZBKTMMON RDY 2 1 More... Parameters for options 1, 2, 3 or command ===> F3=Exit F10=View 4 F11=View 2 F12=Cancel F22=Printers F24=More keys |
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]
Historical Number
544072862
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1012619