Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Work with Saved Spooled Files using BRM (WRKSPLFBRM) command creates a display or report of saved spooled files based on specified libraries, output queues, auxiliary storage pools, files, job names, users, date ranges and sequences. Processing the Work with Saved Spooled Files command takes you to the Work with Saved Spooled Files display where you can remove, display or retrieve selected spooled file entries as well as work with media that contains saved spooled files. If you want to produce a report, the report that is produced is the Saved Spooled File report. The report, if printed, is written to printer file QP1AOQ.
To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OUTQ | Output queue | Qualified object name | Optional, Positional 1 |
Qualifier 1: Output queue | Name, *ALL | ||
Qualifier 2: Library | Name, *ALL | ||
ASP | Auxiliary storage pool | Character value, *ALL, *SYSTEM | Optional, Positional 2 |
FILE | File | Name, *ALL | Optional, Positional 3 |
JOB | Job name | Name, *ALL | Optional, Positional 4 |
USER | User | Name, *ALL | Optional, Positional 5 |
USRDTA | User data | Character value, *ALL | Optional, Positional 6 |
SLTDATE | Select dates | Element list | Optional |
Element 1: From date | Character value, *BEGIN, *CURRENT | ||
Element 2: To date | Character value, *END, *CURRENT | ||
SAVSTS | Save status | *ALL, *ERROR, *NOERROR | Optional |
SORT | Sequence option | *DATE, *FILE, *JOB | Optional |
FROMSYS | From system | Character value, *LCL | Optional |
OUTPUT | Output | Optional |
Top |
Specifies the name of the library and output queue that you want to include in the display or report.
Qualifier 1: Output queue
Qualifier 2: Library
Top |
Specifies the auxiliary storage pool that contained the spooled files when the spooled files were saved.
Top |
Specifies the name of the printer file that contained the spooled file when it was saved that you want to include in the display or report.
Top |
Specifies the name of the job that which created the spooled file that you want to include in the display or report.
Top |
Specifies the name of the user that created the spooled file that you want to include in the display or report.
Top |
Specifies the data associated with the spooled file that was saved and that you want to include in the display or report.
Top |
Specifies a range of dates that you want to use when reporting on saved spooled files. The From date is the beginning of a date range and the To date is the end of the date range.
Note: The From date is based on the date the spooled file was created.
Note: Using this parameter, it is possible to enter a date with no separator, or a number of days which can be up to 5 digits in length. For instance, if you are using month/day/year format, the number 12904 would be formatted as January 29, 2004. If on the other hand, you entered a number 13904, BRMS assume that this is not a date, but rather is a number. BRMS always tries to calculate a calendar date first when a number is entered and then if the date it calculates is not valid, assumes that it is a number of days. If the number that is entered is over 5 digits and the date that it calculates is not valid, you receive an error message.
Element 1: From date
Element 2: To date
Top |
Specifies whether you want to display or report all successful saves, unsuccessful saves or both.
Top |
The saved spooled file report can be sequenced several ways.
Top |
Specifies the location and network identification of the system whose spooled file information that you want to work with.
Note: Use the Display Network Attributes (DSPNETA) command to view the system network attributes.
Note: The BRMS Network feature (Option 1) is required to use this value if a value other than *LCL is specified.
Top |
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
Top |
Example 1: Work with Saved Spooled Files by Date
WRKSPLFBRM SLTDATE('1/1/03' '4/2/03') SORT(*JOB)
This command displays the Work with Saved Spooled Files panel, showing a list of all spooled files that were saved from January 1 to April 2, 2003. The spooled files are displayed in job sequence.
Example 2: Work with Saved Spooled Files by ASP
WRKSPLFBRM ASP(PRIMETIME)
This command displays the Work with Saved Spooled Files panel, showing a list of all spooled files that were saved from auxiliary storage pool device PRIMETIME. The spooled files are displayed in date sequence.
Top |
*ESCAPE Messages
Top |