Save Object using BRM (SAVOBJBRM)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Save Object using BRM (SAVOBJBRM) command allows you to save individual objects or a group of objects that are in the same library.

For job queues, message queues and logical files, only the object definitions are saved, not the contents. The contents of output queues can be saved using SPLFDTA(*ALL), otherwise, only the output queue object definition is saved. The contents of save files can be saved using SAVFDTA(*YES), otherwise, only the save file object definition is saved.

The system saves the specified objects by writing a copy of each object on tape, or in a save file. The objects are not affected in the system unless the command specifies that the storage should be freed.

Virtual tape media and devices can be used with this command. The following restrictions apply to the use of virtual media and virtual devices.

To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.

Restrictions:

  1. You must have authority to the SAVOBJ or SAVCHGOBJ commands to use this command.
  2. You must have *USE authority to any auxiliary storage pool device specified for the Auxiliary storage pool (ASPDEV) parameter.
  3. You must have either the *SAVSYS special authority or you must have:
    • Read authority for, or be the owner of, each library specified.
    • Object existence authority for each object in the library.
  4. When saving to a save file, only one library can be specified.
  5. No object being saved can be changed by a job that is running at the time the save operation occurs unless save-while-active is used.
  6. *NONE must be specified for the Spooled file data (SPLFDTA) parameter if the value for the Target release (TGTRLS) parameter resolves to a release prior to V5R4M0. Use backup spooled file lists to save of spooled files for restore to target releases prior to V5R4M0.
  7. This command should not be used by control group *EXIT item processing as results will be unpredictable.

You can save data to a Tivoli Storage Manager (TSM) server using this command. To save data to a TSM server, the following conditions must be met:

Top

Parameters

Keyword Description Choices Notes
LIB Library Name Required, Positional 1
OBJ Object Single values: *ALL
Other values (up to 50 repetitions): Generic name, name
Required, Positional 2
DEV Device Single values: *NONE
Other values (up to 4 repetitions): Name, *MEDCLS
Required, Positional 3
OBJTYPE Object type Single values: *ALL
Other values (up to 50 repetitions): Character value
Optional
MBR Member Generic name, name, *ALL Optional
MEDPCY Media policy Name, *NONE, *SYSPCY Required, Positional 4
PRLRSC Parallel device resources Element list Optional
Element 1: Minimum resources 1-32, *NONE, *AVAIL
Element 2: Maximum resources 1-32, *MIN, *AVAIL
SAVACT Save active *NO, *LIB, *SYSDFN, *SYNCLIB Optional
SAVACTWAIT Save active wait time Element list Optional
Element 1: Object locks 0-99999, 120, *NOMAX
Element 2: Pending record changes 0-99999, *LOCKWAIT, *NOMAX, *NOCMTBDY
Element 3: Other pending changes 0-99999, *LOCKWAIT, *NOMAX
SAVACTMSGQ Save active message queue Qualified object name Optional
Qualifier 1: Save active message queue Name, *NONE, *WRKSTN
Qualifier 2: Library Name, *LIBL, *CURLIB
CTLGRP Control group Name, *NONE, *ARCGRP, *BKUGRP, *SYSGRP, *SYSTEM Optional
ENDOPT End of tape option *REWIND, *LEAVE, *UNLOAD Optional
USEOPTBLK Use optimum block size *BKUPCY, *DEV, *NO, *YES Optional
SEQNBR Sequence number 1-16777215, *END Optional
TGTRLS Target release Character value, *CURRENT Optional
CLEAR Clear *NONE, *AFTER, *ALL Optional
PRECHK Object pre-check *NO, *YES Optional
ACCPTH Save access paths *SYSVAL, *NO, *YES Optional
DTACPR Data compression *DEV, *NO, *YES Optional
COMPACT Data compaction *DEV, *NO Optional
SAVFDTA Save contents of save files *YES, *NO Optional
SPLFDTA Spooled file data *NONE, *ALL Optional
OBJJRN Journaled objects *NO, *YES Optional
OMITOBJ Objects to omit Values (up to 300 repetitions): Element list Optional
Element 1: Object Qualified object name
Qualifier 1: Object Generic name, name, *NONE, *ALL
Qualifier 2: Library Generic name, name, *ALL
Element 2: Object type Character value, *ALL
ASPDEV Auxiliary storage pool Name, *SYSBAS, *CURASPGRP Optional
EXPDATE Expiration date Date, *MEDPCY, *PERM Optional
MOVPCY Move policy Name, *MEDPCY, *ADSM, *NONE Optional
MEDCLS Media class Character value, *MEDPCY, *ADSM, *SYSPCY Optional
LOC Location Name, *MEDPCY, *ANY, *HOME Optional
SAVF Save to save file *MEDPCY, *NO, *YES Optional
SAVFASP Save file ASP Character value, *MEDPCY, *SYSTEM Optional
SAVFEXP Retain save files Date, *MEDPCY, *PERM, *NONE Optional
MAXSTG ASP storage limit 1-99, *MEDPCY Optional
VOLSEC Secure volume *MEDPCY, *ADSM, *NO, *YES Optional
MINVOL Required volumes 1-9999, *MEDPCY, *NONE Optional
MARKDUP Mark volumes for duplication *MEDPCY, *NO, *YES Optional
MARKHST Mark history for duplication *MEDPCY, *NO, *YES Optional
Top

Library (LIB)

Specifies which library contains the objects that you want to save.

This a required parameter.

Top

Object (OBJ)

Specifies the names of one or more objects or the generic name of each group of objects to be saved. All the objects must be in the library specified on the Library (LIB) parameter. If the Object type (OBJTYPE) parameter is not specified, all the object types listed in the description of that parameter are saved, provided they are in the specified library and have the specified names.

This is a required parameter.

You can type multiple values for this parameter.

Single values

*ALL
All the objects in the specified library are saved, depending on the values specified on the Object type (OBJTYPE) parameter.

Other values (up to 50 repetitions)

object-name
Specify one or more names of specific objects to save. Both generic names and specific names can be specified in the same command.
generic*-object-name
Specify one or more generic names of groups of objects in the specified library to be saved. A generic name is a character string that contains one or more characters followed by an asterisk (*). If an * is not specified with the name, the system assumes that the name is a complete object name.
Top

Device (DEV)

Specifies the device or devices to be used by this command.

Single values

*MEDCLS
Devices for this policy or control group are selected based on device types that support the density for the media class specified in the media policy. The *MEDCLS special value is used for devices that are part of a device pool, such as several systems that share a single or set of devices. Devices are specified in the Work with Devices display.

Note: If you want to use more than one device for a serial save operation, the *MEDCLS can be repeated up to four times, once for each device used, except for virtual tape devices which is limited to a single value. The Parallel Device Resource (PRLRSC) parameter must be *NONE. BRMS will attempt to use the maximum number of devices that can be allocated for a save operation. If you want to use more than one device for a parallel save operation the *MEDCLS must only be specified once and the PRLRSC minimum and maximum responses must be greater than one.

Other values (up to 4 repetitions)

Specifies the name of the devices to be used for the save operation. the specified device name must already be in the BRMS device table.

You can enter multiple values for this parameter. If you are on an entry display and you need additional entry fields to enter these multiple values, type a plus sign (+) in the entry field opposite the phrase "+ for more" and press the Enter key.

Note: Multiple systems can share the use of a tape device or a media library device (MLB). When the device is a tape device (not an MLB device), BRMS can help you manage the use of the stand alone device by multiple systems if you indicate the device is shared.

You can save data to a TSM (ADSM) server using this command. You can only specify one TSM type server in the list of devices or *MEDCLS, which must select a TSM server. The device type can either be *APPC, which supports SNA network protocol, or *NET, which supports TCPIP protocol.

*NONE
There is no device for this save operation. Save files are used to store the saved data. Data in a save file created with device *NONE will never be copied by BRMS. It is intended for online access only.
device-name
Specify the names of one or more devices used for the save operation. If you are using more than one device (up to a maximum of four), specify the names of the devices in the order in which they are used.

Note: When doing a serial save, only one media library device or one virtual tape device can be specified. When doing a parallel save, multiple media library devices or virtual tape devices can be specified.

Note: PRLRSC must be *NONE when DEV is *NONE.

Note: When doing a serial save, only one media library device or one virtual tape device can be specified. When doing a parallel save, multiple media library devices or virtual tape devices can be specified.

Top

Object type (OBJTYPE)

Specifies the types of system objects to save. For a complete list of object types that can be saved, move the cursor to Object type (OBJTYPE) parameter and press the F4 key.

You can type multiple values for this parameter.

Single values

*ALL
All object types that are specified by name and are in the specified library are saved. If *ALL is also specified on the Object (OBJ) parameter, then all the objects in the library that are of the types that can be saved are saved.

Other values (up to 50 repetitions)

object-type
Specify the value for each of the types of object that are saved such as command (*CMD), file (*FILE), or program (*PGM).
Top

Member (MBR)

Specifies the database file members that are saved. You can choose a specific member, a generic member name or all members. To use the Member (MBR) parameter for a member or generic member, the Object (OBJ) parameter cannot be *ALL or generic and the Object type (OBJTYPE) parameter must be *FILE.

*ALL
All members are saved from the specified file.
member-name
Specify the name of the member to be saved from the given file.
generic*-member-name
Specify the generic name of the members to be saved from the specified file. A generic name is a character string that contains one or more characters followed by an asterisk (*). If an * is not specified with the name, the system assumes that the name is a complete member name.
Top

Media policy (MEDPCY)

Specifies the media policy that you want to use with this save command.

Media policies are used to determine:

The media policy you specify must be a media policy that is in the BRMS media policy table.

This a required parameter.

*SYSPCY
The media policy specified in the system policy is assigned to output volumes from this save operation.
*NONE
No media policy is specified for this save operation. Media policy values must be supplied with the save command for each parameter that has a default of *MEDPCY.

Note: If you specify *NONE, and you are saving data to a TSM (ADSM) server, you must specify the *ADSM special value in the MOVPCY, MEDCLS and VOLSEC parameters which are part of the media policy values for this save operation. You must still supply the additional media policy values for the remaining parameters with *MEDPCY as the default. The TSM management class STANDARD, and the TSM node *LCL, are used as default values for the save operation.

media-policy
Specify the name of the media policy that you want to use with this save operation.
Top

Parallel device resources (PRLRSC)

Specifies the minimum and maximum number of device resources to be used in a parallel save operation.

Note: Transferring save files to tape does not support parallel operations.

Element 1: Minimum Resources

Specifies the minimum number of device resources required for a parallel save.

Note: If a Media Library Device (MLB) is being used and the required resources are not available, the command will wait for the MLB to become available for a time period specified by the user. The wait time is determined by the value specified on the *MLB device description for INLMNTWAIT. If a *TAP device is being used and the required resources are not available, the command will fail.

*NONE
No device resources are to be used. The save will be performed as a serial save. *NONE must be specified when using a TSM or virtual tape device.
*AVAIL
Use any available devices up to the maximum of what was used for a save. Specifying this value for the minimum will allow BRMS to use any available resources, but will complete using one resource if only one is available at the start of the command.
1-32
Specify the minimum number of device resources to be used with this save command.

Element 2: Maximum Resources

Specifies the maximum number of device resources.

*MIN
Uses the value specified for the minimum number of device resources.
*AVAIL
Use any available devices for the save operation. Specifying this value for the maximum will allow BRMS to use any available resources but at a minimum the value specified in the minimum element.
1-32
Specify the maximum number of device resources to be used with this save command.
Top

Save active (SAVACT)

Specifies if an object can be updated while it is being saved.

Note: If your system is in a restricted state and the SAVACT parameter is specified, the save operation is performed as if SAVACT(*NO) was specified.

Note: If you are using the MONSWABRM command as part of an *EXIT special operation in a control group, the Save while active field must have a value of *YES for the entry that you want to save while active. The Monitor Save While Active (MONSWABRM) command reviews the save while active message queue and looks for the message indicating the end of library synchronization. When synchronization is detected, you can issue a command to the system.

*NO
Objects that are in use are not saved. Objects cannot be updated while being saved.
*LIB
Objects in a library can be saved while they are in use by another job. All of the objects in a library reach a checkpoint together and are saved in a consistent state in relationship to each other.

Note: Libraries with thousands of objects may be too large for this option.

*SYNCLIB
Objects in a library can be saved while they are in use by another job. All of the objects and all of the libraries in the save operation reach a checkpoint together and are saved in a consistent state in relationship to each other.

Note: Multiple checkpoints will occur when using *SYNCLIB with an incremental *ALLUSR backup item if new libraries were added to the system since the last save because synchronization is only within commands, not across libraries. New libraries are saved using Save Library (SAVLIB) command. Changed libraries are saved using the Save Changed Object (SAVCHGOBJ) command with a reference date and time that is the earliest occurance of either that last full or last incremental backup. BRMS uses its own reference dates rather than those in the object description information to protect incremental saves from being affected by native save operations.

Note: The *SYNCLIB choice cannot be used for the *IBM save type.

Note: If the libraries are being saved to save files or to TSM servers, each library is saved individually rather than as a group. Synchronization messages are therefore sent individually for each library rather than for the libraries as a group and synchronization is only within one library, not across libraries.

*SYSDFN
Objects in a library can be saved while they are in use by another job. Objects in a library may reach checkpoints at different times and may not be in a consistent state in relationship to each other.

Note: Specifying this value eliminates some size restrictions and can allow a library to be saved that could not be saved with SAVACT(*LIB).

Top

Save active wait time (SAVACTWAIT)

Specifies the amount of time to wait for an object that is in use, or for transactions with pending changes to reach a commit boundary, before continuing the save operation.

Element 1: Object locks

Specifies the amount of time to wait for the object to become available for each object that is in use. If an object remains in use for the specified time, the object is not saved.

For each object that is in use, specifies the amount of time to wait for the object to become available. If an object remains in use for the specified time, the object is not saved.

120
The system waits up to 120 seconds for each individual object lock before continuing the save operation.
*NOMAX
No maximum wait time exists.
wait-time
Specifies the time (in seconds) to wait for each individual object lock before continuing the save operation. Valid values range from 0 through 99 999.

Element 2: Pending record changes

For each group of objects that are checkpointed together, specifies the amount of time to wait for transactions with pending record changes to reach a commit boundary. The Save active prompt (SAVACT) parameter determines which objects are checkpointed together. If 0 is specified, all objects being saved must be at commit boundaries. If any other value is specified, all objects that are journaled to the same journals as the objects being saved must reach commit boundaries. If a commit boundary is not reached in the specified time, the save operation is ended, unless the value *NOCMTBDY is specified.

*LOCKWAIT
The system waits up to the value specified on Element 1 for commit boundaries for record changes.
*NOCMTBDY
The system will save objects without requiring transactions with pending record changes to reach a commit boundary. Therefore, objects may be saved with pending transactions.

If you restore an object that was saved with pending transactions, you cannot use the object until you apply or remove journal changes (APYJRNCHG or RMVJRNCHG command) to reach commit boundaries. You will need all journal receivers that contain information about the pending transactions to apply or remove the changes. Until you apply or remove the changes, any future save of that object will include the pending transactions, even if you do not specify *NOCMTBDY.

Restrictions:

  1. The value of the Target release (TGTRLS) parameter must be *CURRENT, V5R3M0 or later release to use *NOCMTBDY.
  2. The value of the Object detail (OBJDTL) parameter must be *YES or *MBR to use *NOCMTBDY.
  3. The name of the saved library cannot begin with the letter Q or # when using *NOCMTDBY.
*NOMAX
No maximum wait time exists.
wait-time
Specifies the time (in seconds) to wait for transactions with pending record changes to reach a commit boundary. Valid values range from 0 through 99 999.

Element 3: Other pending changes

For each library, specifies the amount of time to wait for transactions with other pending changes to reach a commit boundary. Other pending changes include the following:

If a commit boundary is not reached for a library in the specified time, the library is not saved.

*LOCKWAIT
The system waits up to the value specified on Element 1 for the types of transactions that are listed above to reach a commit boundary.
*NOMAX
No maximum wait time exists.
wait-time
Specifies the time (in seconds) to wait for the types of transactions that are listed above to reach a commit boundary. Valid values range from 0 through 99 999.
Top

Save active message queue (SAVACTMSGQ)

Specifies the message queue that the save operation uses to notify the user that the checkpoint processing for the library is complete. A separate message is sent for each library to be saved when the *SYSDFN or *LIB value is specified on the Save active (SAVACT) parameter. When the *SYNCLIB value is specified on the Save active (SAVACT) parameter, one message is sent for all libraries in the save operation.

Note: When multiple save operations are generated by BRMS, then one message is sent for each command generated.

This parameter can be used to save the objects at a known, consistent boundary to avoid additional recovery procedures following a restore operation. Applications can be stopped until the checkpoint processing complete message is received.

Qualifier 1: Save active message queue

*NONE
No notification message is sent.
*WRKSTN
The notification message is sent to the work station message queue.
message-queue-name
Specify the name of the message queue that the notification message is sent to.

Qualifier 2: Library

*LIBL
The library list is used to locate the message queue.
*CURLIB
The current library for the job is used to locate the message queue. If no library is specified as the current library for the job, the QGPL library is used.
library-name
Specify the name of the library where the message queue is located.

Restrictions: If MONSWABRM is used to monitor the save while active message queue, and LIB(*MSGQ) is specified for the MONSWABRM, the name specified here must match the name on the MSGQ parameter for the MONSWABRM command.

MONSWABRM always uses the message queue from library QUSRBRM.

Top

Control group (CTLGRP)

Specifies the name of the control group that you want to associate with the objects saved by this command. The control group name is stored with the media information and can be used with the Control group (CTLGRP) parameter on other BRMS commands to filter the media information or recover saved objects by control group.

Note: None of the attributes of the control group are used for the save.

If you are using version control for the items you are saving, this save operation will be recorded as part of the specified version control. Version control is specified in the media policy associated with this control group and can be reviewed by using the Work with Media Policies display.

*NONE
Do not specify a control group name for this command.
*ARCGRP
The name of the default archive control group.

Note: The BRMS Advanced feature (Option 2) is required to use this value.

*BKUGRP
The name of the default backup control group used to save all user data.
*SYSGRP
The name of the default system control group used to save all system data.
*SYSTEM
The name of the default system control group used to save the entire system.
control-group-name
Specify the name of the control group to be assigned to the items you are saving.
Top

End of tape option (ENDOPT)

Specifies, when tape is used, what positioning operation is automatically done on the volume after the save operation ends. If more than one volume is included, this parameter applies only to the last volume used; all other volumes are rewound and unloaded when the end of the volume is reached.

If you specify *LEAVE and the device is a shared device, the device will not be varied off after the save operation. If you specify *LEAVE and the device is not a shared device, the device will be varied off after the save operation.

*REWIND
The volume is automatically rewound, but not unloaded, after the operation has ended.
*LEAVE
The volume does not rewind or unload after the operation ends. It remains at the current position on the device.
*UNLOAD
The volume is automatically rewound and unloaded after the operation ends.
Top

Use optimum block size (USEOPTBLK)

Specifies whether or not the optimum block size is used for the save operation.

*BKUPCY
Use the value from the backup policy for the Use optimum block size parameter.
*DEV
Use the value specified on the Work with Devices display for the Use optimum block size parameter.
*NO
The optimum block size supported by the device is not used. Save commands use the default block size supported by all device types. The tape volume can be duplicated to any media format using the Duplicate Tape (DUPTAP) command or the Duplicate Media using BRM (DUPMEDBRM) command.
*YES
The optimum block size supported by the device is used for Save commands. If the block size used is larger than a block size that is supported by all device types then:
  • Performance may improve.
  • The tape file that is created is only compatible with a device that supports the block size used. Commands such as Duplicate Tape (DUPTAP) and Duplicate Media using BRM (DUPMEDBRM) do not duplicate files unless the files are being duplicated to a device which supports the same block size that was used.
  • The value for the Data Compression (DTACPR) parameter is ignored.
Top

Sequence number (SEQNBR)

Specifies, when tape is used, the sequence to use for the save operation. If you are saving to a BRMS volume that is expired, BRMS will begin writing information at the beginning of the volume, even though you have specified *END. If you are saving to a BRMS volume, BRMS will redirect the output to begin at the logical end of the output volume (after the end of the last active file), depending on the output device that you are using. For example, a 3490 device can write to any sequence number whereas a 6525 device can only write to sequence number 1 or *END.

*END
The save operation begins after the sequence number of the last active file on the volume.
file-sequence-number (1-16,777,215)
Specify the sequence number of the file to be used for the save operation.
Top

Target release (TGTRLS)

Specifies the release of the operating system on which you intend to restore the objects being saved.

*CURRENT
The objects are to be restored on a system that is running the same release of the operating system currently running on your system. For example, if V5R2M0 is running on the system, *CURRENT means that you intend to restore the objects on a system with V5R2M0 installed. The objects can also be restored on a system with any subsequent release of the operating system installed.
*PRV
The objects are to be restored on a system that is running on the previous release with modification level 0 of the operating system. For example if V5R2M0 is running on your system, *PRV means you intend to restore the objects on a system with V5R1M0 installed. The object can also be restored on a system with any subsequent release of the operating system installed.

Note: Not all objects can be targeted to another release. Objects that are new to a release typically cannot be saved to a previous release.

target-release
Specify the release in the format VxRxMx, where Vx is the version, Rx is the release, and Mx is the modification level. For example, V5R2M0 is version 5, release 2, modification level 0.

The objects can be restored on a system with the specified release or with any subsequent release of the operating system installed.

Note: Not all objects can be targeted to another release. Objects that are new to a release typically cannot be saved to a previous release.

Valid values depend on the current version, release, and modification level, and they change with each new release. If you specify a release-level that is earlier than the earliest release level supported by this command, an error message is sent indicating the earliest supported release.

Top

Clear (CLEAR)

Specifies whether uncleared volumes or save files encountered during the save operation are automatically cleared.

*NONE
None of the uncleared volumes or save files encountered during the save operation are automatically cleared. If the save operation cannot proceed because an uncleared volume is encountered, an inquiry message is sent to the operator, allowing the ending of the save operation, or specifying that the currently selected volume be cleared so the operation can continue.

If a save file is not cleared, the inquiry message is sent to the work station message queue for an interactive job, or to the operator for a batch job. All volumes used to perform the save operation should be cleared, or the save file must be empty, before the save command is issued.

*AFTER
All the uncleared volumes after the initial volume are automatically cleared. This option is not valid for save or restore operations to a save file. If the operation cannot proceed because the first volume is uncleared, an inquiry message is sent to the system operator, allowing him to end the operation or to specify that the currently selected volume be cleared so the operation can continue.
*ALL
All the uncleared volumes or save files encountered during the save operation are automatically cleared. If tapes are used and a sequence number is specified, the volume is cleared and, starting with that sequence number, all volumes following the first volume are cleared.
Top

Object pre-check (PRECHK)

Specifies whether the save operation ends if any of the selected objects cannot be saved.

*NO
The save operation for a library continues, saving only those objects that can be saved.
*YES
If after all specified objects are checked, one or more objects cannot be saved, the save operation for a library ends before any data is written. If multiple libraries are specified, the save operation continues with the next library.
Top

Save access paths (ACCPTH)

Specifies whether the logical file access paths that are dependent on the physical files being saved are also saved. The access paths are saved only if all members on which the access paths are built are included in this save operation. Informational messages are sent indicating the number of logical file access paths saved with each physical file. All physical files on which an access path is built must be in the same library. This parameter does not save logical objects; it only controls the saving of the access paths. Information on the restoring of saved access paths is in the Backup and Recovery Book.

Attention: If the based-on physical files and the logical files are in different libraries, the access paths are saved. However, if the logical files and the based-on physical files are in different libraries and the logical files or physical files do not exist at restore time (such as during disaster recovery or the files were deleted) the access paths are not restored. They are rebuilt. For the fastest possible restore operation for logical files and the based-on physical files must be in the same library and must be saved at the same time.

*SYSVAL
The system value QSAVACCPTH determines whether to save the logical file access paths that are dependent on the physical files that are being saved.
*NO
Only those objects specified on the command are saved. No logical file access paths are saved.
*YES
The specified physical files and all eligible logical files access paths over them are saved.
Top

Data compression (DTACPR)

Specifies whether data compression is used.

*DEV
If the save is to tape and the target device supports compression, hardware compression is performed. Otherwise, no data compression is performed.

Note: If *DEV is specified on both the Data compression (DTACPR) parameter and the Data compaction (COMPACT) parameter, only device data compaction is performed if device data compaction is supported on the device. Otherwise, data compression is performed if supported on the device.

If *YES is specified on the Data compression (DTACPR) parameter and *DEV is specified on the Data compaction (COMPACT) parameter, both device data compaction and device data compression are performed if supported on the device.

*NO
No data compression is performed.
*YES
If the target device supports compression, hardware compression is performed. if compression is not supported, software compression is performed.
Top

Data compaction (COMPACT)

Specifies whether data compaction is performed.

*DEV
Device data compaction is performed if the data is saved to tape and all devices specified on the Device (DEV) parameter support the compaction feature.

Note: If *DEV is specified on both the Data compression (DTACPR) parameter and the Data compaction (COMPACT) parameter, only device data compaction is performed if device data compaction is supported on the device. Otherwise, data compression is performed if supported on the device.

If *YES is specified on the Data compression (DTACPR) parameter and *DEV is specified on the Data compaction (COMPACT) parameter, both device data compaction and device data compression are performed if supported on the device.

*NO
No data compaction is performed.
Top

Save contents of save files (SAVFDTA)

Specifies for save file objects, whether the description of a save file, or both the description and the contents of a save file, are saved on the tape or in another save file.

*YES
The description and contents of save files are saved.
*NO
Only the description of a save file is saved.
Top

Spooled file data (SPLFDTA)

Specifies whether to save the spooled file data and attributes for saved output queues. The saved spooled files and attributes can be viewed after the save using the Work with Saved Spooled Files (WRKSPLFBRM) command.

*NONE
Specifies no spooled file data or attributes are saved with saved output queues.
*ALL
Specifies all available spooled file data and attributes are saved with saved output queues.
Top

Journaled objects (OBJJRN)

This parameter is ignored for SAVOBJBRM. Since the command does not support *INCR and *CUML backup types, the OBJJRN parameter does not apply.

Top

Omit object (OMITOBJ)

Specifies the objects to be excluded from the save operation. Up to 300 objects or generic object values can be specified.

If the OMITOBJ parameter is not specified, no objects are excluded from the save operation.

*NONE
No objects are excluded from the save operation.

Element 1: Object

Qualifier 1: Object

*ALL
Objects in the specified libraries are excluded, depending on the value specified for the object type.
generic*-object-name
Specify the generic name of the object. A generic name is a character string of one or more characters followed by the asterisk (*); for example, ABC*. The asterisk (*) substitutes for any valid characters. A generic name specifies all objects with names that begin with the generic prefix, for which the user has authority. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete object name.
object-name
Specify the name of the object that will be excluded from the save operation.

Qualifier 2: Library

*ALL
The specified objects are excluded from all libraries that are part of the save operation.
generic*-library-name
Specify the generic name of the library. A generic name is a character string of one or more characters followed by the asterisk (*); for example, ABC*. The asterisk (*) substitutes for any valid characters. A generic name specifies all libraries with names that begin with the generic prefix, for which the user has authority. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete library name.
library-name
Specify the name of the library that contains the object to be excluded from the save operation.

Element 2: Object type

*ALL
All object types are excluded from the save operation, depending on the value specified for the object name.
object-type
Specify the type of the object to be excluded from the save operation.
Top

Auxiliary storage pool device (ASPDEV)

Use this parameter to specify the auxiliary storage pools from which libraries and objects can be included in the save operation.

*SYSBAS
Specifies libraries or objects from only the system (1) and basic user auxiliary storage pools (2-32) are included in the save.
*CURASPGRP
Specifies libraries or objects from only the auxiliary storage pool group currently set for the job are included in the save. Libraries or objects from the system (1) and basic user auxiliary storage pools (2-32) are omitted from the save.
auxiliary-storage-pool-device-name
Specifies libraries or objects from the named auxiliary storage pool device are included in the save operation. This must be the name of a primary or secondary auxiliary storage pool. Libraries or objects from the system (1) and basic user auxiliary storage pools (2-32) are omitted from the save.
Top

Expiration date (EXPDATE)

Specifies the expiration that you want to use for output volumes created as a result of this save operation.

*MEDPCY
The value for this parameter is specified in the media policy that is specified in the Media policy (MEDPCY) parameter of this save command.

Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.

*PERM
Output volumes from this save operation are assigned a permanent expiration.
expiration-date
Specify an expiration date with or without date separators that will be assigned to output volumes from this save operation.
Top

Move policy (MOVPCY)

Specifies the move policy that you want to use for output volumes created as a result of this save operation.

If this save operation that you are performing is saving data to a device of category *NET or *APPC, you must specify the special value *ADSM (TSM server) for the MOVPCY parameter, since a TSM server controls the use of media in this case, not BRMS.

*MEDPCY
The value for this parameter is specified in the media policy that is specified in the Media policy (MEDPCY) parameter of this save command.

Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.

*ADSM
Media movement is controlled by TSM server specifications.
*NONE
There is not a move policy associated with the output volumes that are created as a result of this save operation.
move-policy
Specify a move policy that will be assigned to output volumes from this save operation.
Top

Media class (MEDCLS)

Specifies the media class that you want to use for selection of output volumes used in this save operation.

If this save operation that you are performing is saving data to a device of category *NET or *APPC, you must specify the special value *ADSM (TSM server) for the MEDCLS parameter, since a TSM server controls the use of media in this case, not BRMS.

*MEDPCY
The value for this parameter is specified in the media policy that is specified in the Media policy (MEDPCY) parameter of this save command.

Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.

*ADSM
The save operation uses media that is selected and controlled by TSM server specifications.
*NONE
There is not a media class associated with the output volumes that are selected for this save operation.
*SYSPCY
The value for the media class in the system policy will used to select output volumes for this save operation.
media-class
Specify a media class that will be used to select output volumes for this save operation.
Top

Location (LOC)

Specifies the location that you want to use for selection of output volumes used in this save operation.

*MEDPCY
The value for this parameter is specified in the media policy that is specified in the Media policy (MEDPCY) parameter of this save command.

Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.

*ANY
Volumes from any location are selected as output volumes for this save operation.
*HOME
Volumes from the home location are selected as output volumes for this save operation.
location
Specify the location from which volumes are selected as output volumes for this save operation.
Top

Save to save file (SAVF)

Specifies whether the output from this save operation is saved to a save file.

Note: If the save operation that you are performing is saving data using media of class *ADSM (TSM server), you must specify *NO in this parameter. If you specify SAVF(*MEDPCY), then the value of the Save to save file field in the referenced media policy must be *NO.

*MEDPCY
The value for this parameter is specified in the media policy that is specified in the Media policy (MEDPCY) parameter of this save command.

Note: If *NONE is specified in the Media policy) (MEDPCY parameter, you cannot specify *MEDPCY in this parameter.

*NO
Output from this save operation is not saved to a save file.
*YES
Output from this save operation is saved to a save file.
Top

Save file ASP (SAVFASP)

Specifies the system (1) or basic user auxiliary storage pool (2-32) to which a save file is created as a result of this save operation.

*MEDPCY
The value for this parameter is specified in the media policy that is specified in the Media policy (MEDPCY) parameter of this save command.

Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.

*SYSTEM
The save file is saved to the system (1) auxiliary storage pool.
save-file-ASP-name
Specify the name of the auxiliary storage pool to which you are saving the save file.
save-file-ASP-number
Specify the system (1) or basic user auxiliary storage pool number (2-32) for the save file that is created as a result of the save operation.

Note: UDFS, primary and secondary auxiliary storage pools are not supported for this parameter.

Top

Retain save files (SAVFEXP)

Specifies how long save files are to be kept that are created as a result of this save operation.

*MEDPCY
The value for this parameter is specified in the media policy that is specified in the Media policy (MEDPCY) parameter of this save command.

Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.

*NONE
Save files generated from the save operation are not kept.
*PERM
Save files generated from the save operation are kept permanently.
expiration-date
Specify the date that indicates how long save files created from this save operation are to be kept.
Top

ASP storage limit (MAXSTG)

Specifies the maximum percentage auxiliary storage pool (ASP) utilization that is acceptable during a save operation. For example, an entry of 90 would mean that a save process would continue until the auxiliary storage pool utilization exceeded 90%. If the upper limit is reached, the save process is stopped and a message sent to the BRMS log.

*MEDPCY
The value for this parameter is specified in the media policy that is specified in the Media policy (MEDPCY) parameter of this save command.

Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.

storage-limit
Specify the maximum auxiliary storage pool utilization limit.
Top

Secure volume (VOLSEC)

Specifies whether you want to apply volume security to volumes in this media class. Volumes that are secured can only be read by users with the special authorities *ALLOBJ or *SAVSYS.

If the save operation that you are performing is saving data to a device of category *NET or *APPC, you must specify the special value *ADSM (TSM server) for the VOLSEC parameter, since a TSM server controls volume security in this case, not BRMS

*MEDPCY
The value for this parameter is specified in the media policy that is specified in the Media policy (MEDPCY) parameter of this save command.

Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.

*ADSM
Volume security is controlled by TSM server specifications.
*NO
Volume security has not been applied to this media class. Volumes that do not have volume security can be read by anyone.
*YES
Only users with special authorities *ALLOBJ or *SAVSYS can read media volumes in this media class.
Top

Require volumes (MINVOL)

Specifies the minimum number of expired volumes that must be present before any save can be done using this media policy. The value can also be checked by user jobs using the Check Expired Media for BRM (CHKEXPBRM) command.

Note: If the save operation that you are performing is saving data using media of class *ADSM (TSM server), you must specify *NONE in this parameter. If you specify MINVOL(*MEDPCY), then the value of the Required volumes field in the referenced media policy must be *NONE.

*MEDPCY
The value for this parameter is specified in the media policy that is specified in the Media policy (MEDPCY) parameter of this save command.

Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.

*NONE
There is no check done to determine the minimum number of required volumes before a save operation begins.
number-of-volumes
Specify the number of expired media volumes that must be available before any BRMS save operation will begin. The number can range from 1 to 9999.
Top

Mark volumes for duplication (MARKDUP)

Specifies whether media volumes will be marked for duplication. When *YES is selected, all volumes used during a save operation are marked for duplication. You can use VOL(*SEARCH) on the Duplicate Media using BRM command to duplicate the saved items after the save has completed.

Note: If the save operation that you are performing is saving data using media of class *ADSM (TSM server), you must specify *NO in this parameter. If you specify MARKDUP(*MEDPCY), then the value of the Mark for duplication attribute in the referenced media policy must be *NO.

*MEDPCY
The value for this parameter is specified in the media policy that is specified in the Media policy (MEDPCY) parameter of this save command.

Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.

*NO
Volumes written to during a save operation will not be marked for duplication.
*YES
Volumes written to during the save operation will be marked for duplication.
Top

Mark history for duplication (MARKHST)

Specifies whether history items will be marked for duplication. When *YES is selected, all history items created during a save operation are marked for duplication. You must use VOL(*SCHHST) on the Duplicate Media using BRM command to duplicate the saved items.

Note: If the save operation that you are performing is saving data using media of class *ADSM (TSM server), you must specify *NO in this parameter. If you specify MARKHST(*MEDPCY), then the value of the Mark history for duplication attribute in the referenced media policy must be *NO.

*MEDPCY
The value for this parameter is specified in the media policy that is specified in the Media policy (MEDPCY) parameter of this save command.

Note: If *NONE is specified in the Media policy (MEDPCY) parameter, you cannot specify *MEDPCY in this parameter.

*NO
History items created during the save operation will not be marked for duplication.
*YES
History items created during the save operation will be marked for duplication.
Top

Examples

Example 1: Saving Objects of a Particular Type

SAVOBJBRM LIB(MYLIB) OBJ(AP* GLMST) DEV(TAP09)
          OBJTYPE(*FILE) MEDPCY(FULL)

This command saves selected file objects whose names begin with the letters 'AP' and the file object named GLMST from library MYLIB using device TAP09.

Example 2: Saving Generic Objects from a Library

SAVOBJBRM LIB(MYLIB) OBJ(DIST*) DEV(TAP09) MEDPCY(FULL)

This command saves all objects that begin with the letters 'DIST' from library MYLIB using device TAP09.

Example 3: Saving Objects of a Particular Type in Parallel

SAVOBJBRM LIB(MBALIB) OBJ(AP* GLMST) DEV(MLB01)
          OBJTYPE(*FILE) MEDPCY(FULL) PRLRSC(2 2)

In this example all objects are saved that begin with AP or the object called GLMST if they are object type *FILE. The objects are found in library MBALIB. They will be saved to two device resources in MLB01.

Example 4: Saving Objects of a Particular Type on an Auxiliary Storage Pool Device

SAVOBJBRM LIB(MYLIB) OBJ(AP* GLMST) DEV(TAP09) OBJTYPE(*FILE)
            MEDPCY(FULL) ASPDEV(PRIMETIME)

This command saves selected file objects whose names begin with the letters 'AP' and the file object named GLMST from library MYLIB which reside on auxiliary storage pool device PRIMETIME using device TAP09.

Top

Error messages

*ESCAPE Messages

BRM1917
Feature not installed.
BRM1921
Feature not licensed.
BRM40A2
BRMS product initialization required.
CPF3700
All CPF37xx messages could be signaled. xx is from 01 to FF.
CPF3800
All CPF38xx messages could be signaled. xx is from 01 to FF.
CPF9800
All CPF98xx messages could be signaled. xx is from 01 to FF.
Top