An object list is used to identify specific objects
in libraries you want to include in a backup. It can be used in conjunction
with the Save spooled file data backup control
group attribute to save spooled files for any output queues that might
be included in the list entries. In general, entries in the object
list are processed sequentially, one entry at a time.
To create an object list for an existing control group, take the
following steps from the Work with Backup Control Groups display:
Place a 2 (Edit entries) next to the control group to which you
want to add the list.
At the Edit Control Group Entries display, type a sequence number
at the top of the Opt column and press F23.
This takes you to the Work with Backup lists display.
At the Work with Backup Lists display, type in the name of the
list you want to create, in this case, an object list called TESTOBJ.
Type a 1 (Add) in the Opt column.
Type the name of the object you want to create in the List name field.
Type *BKU in the Use column.
Name the list type, *OBJ, in the Type column.
Then press Enter. This takes you to the Add Object List display.
Add Object List RCHAS400
Use . . . . . . . . . : *BKU
List name . . . . . . . TESTOBJ
Text . . . . . . . . . Create object list
Type choices, press Enter.
Seq Library Object Type Member
10 LIB3 *ALL *ALL *ALL
20 LIB4 P* *ALL *ALL
Bottom
F3=Exit F4=Prompt F5=Refresh F12=Cancel
Following are brief summaries of the key parameters on this display:
In the Seq field, place a number which
reflects the order in which you want to save the item.
In the Library field, specify
the name of the library that contains the objects you want to save
in the list. You can also specify a generic. Example GEN*.
In the Object field type the name of the
object you want to save in the list. The possible values include:
The actual name of the object.
A generic name.
*ALL.
The Type field specifies the type of object
you want to save in the list. You can use the name of any permitted
system object type. Or you can use *ALL to indicate that all objects
apply to the object type specified in the list you want to save.
The Member field identifies the name of
the database member you want to save in the object list. You cannot
designate a member name if you use *ALL or generic as the object name.
Otherwise, you can name specific member names, generic ones, or indicate
*ALL to include all available members.
After changing the parameters as needed, press
Enter twice to save and to return to the Work with Backup Lists
display. You can now see the name of your list in the list of backup
items.
Press Enter again to return to the Edit Backup Control Group Entries
display. Type the name of the list in the Backup
items field, the name of the list type in the List
type column and press Enter. BRMS saves the new list in the control
group you specified, in this case, the SAMPLE control group.
Press Enter to return to the Work with Control Groups display.
You can also save the objects in the list using the Save Object List using BRM (SAVOBJLBRM) command.