Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Work with Saved Objects using BRM (WRKOBJBRM) command prints/displays a report of saved objects. Groups of objects are selected by date ranges and the resulting display or report can be sequenced in several ways. If the display option is selected, you can restore objects from the media inventory. The report that is produced is the Saved Objects report. The report, if printed, is written to printer file QP1AOD.
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 |
---|---|---|---|
OBJ | Object | Qualified object name | Optional, Positional 1 |
Qualifier 1: Object | Name, *ALL | ||
Qualifier 2: Library | Name, *ALL | ||
OBJTYPE | Type | Character value, *ALL | Optional, Positional 2 |
ASP | Auxiliary storage pool | Character value, *ALL, *SYSTEM | Optional |
SLTDATE | Select dates | Element list | Optional, Positional 3 |
Element 1: From date | Character value, *BEGIN, *CURRENT | ||
Element 2: To date | Character value, *END, *CURRENT | ||
SAVSTS | Save status | *ALL, *ERROR, *NOERROR | Optional |
INFTYPE | Object information | *ALL, *DLO, *MBR, *OBJ | Optional |
SORT | Sequence option | *SAVDAT, *LIB, *OBJ | Optional |
FROMSYS | From system | Character value, *LCL | Optional |
OUTPUT | Output | Optional |
Top |
Specifies the name and library of the object or group of objects that you want to display or print.
Qualifier 1: Object
Qualifier 2: Library
Top |
Specifies the type of object that you want to display or print.
Top |
Specifies the auxiliary storage pool that contained the saved objects you want to display or report.
Top |
Specifies a range of dates that you want to use when reporting on saved objects. The From date is the beginning of a date range and the To date is the end of a date range of saved objects.
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 |
Specifies whether you want to display or report all objects or selected objects.
Top |
The saved object display or report can be sequenced several ways.
Top |
Specifies the location and network identification of the system whose object 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: Working with Objects Not Successfully Saved
WRKOBJBRM SAVSTS(*ERROR) INFTYPE(*OBJ) SORT(*OBJ)
This command displays the Work with Saved Objects panel, where all objects that were not successfully saved are displayed in object name sequence.
Top |
*ESCAPE Messages
Top |