You can create storage profiles from PSS Retention Policies
and import them into the Optim Directory. These storage policies can
apply to new or existing archive files.
When you create a new archive file, you can supply the name
of a storage profile to control the time period that it is retained. Refer to
Using the Archive Request Editor for
details.
To apply a storage profile to an existing archive file,
use the command-line utility:
PR0CMND /ARCMAINT OPERATION=UPDATE
AFFILE={ * |archivefilename}
[ AFGROUP groupname]
[ AFCOLLECTION collectionname]
[ SERVER=servername]
[ PROFILE=profilename]
[ DIRECTORY=directoryname]
[ OUTPUT=outputfilename]
- PR0CMND
- Type PR0CMND to initiate command-line processing. Note:
the character that follows PR is the number 0 (zero).
- /ARCMAINT
- Command to run archive directory maintenance.
- OPERATION=
- Maintenance operation to perform. Specify UPDATE.
- AFFILE=
- Name of the archive file to apply this storage profile to. This
parameter is required. If this archive file already has a storage
profile, the storage profile specified in this command replaces it.
Specify:
- *
- Apply the storage profile to all archive files in the Optim Directory.
- archivefilename
- Apply the storage profile to the named archive file.
- AFGROUP
- Apply the storage profile to all archive files in the named group.
Specify the one- to eight-character name of the group.
- AFCOLLECTION
- Apply the storage profile to all archive files in the named COLLECTION.
- SERVER=
- Optional parameter for the name of a server on which the archive
file resides.
- PROFILE=
- Name of the storage profile to apply to this archive file.
- DIRECTORY=
- Optional parameter for the name of the Optim directory in which
the archive file is registered.
- OUTPUT=
- Name of the output file. This is a response file that contains information indicating
whether the command ran successfully.