Work with Policies using BRM (WRKPCYBRM)

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

The Work with Policies using BRM (WRKPCYBRM) command specifies the BRMS policy with which you want to work.

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

Top

Parameters

Keyword Description Choices Notes
TYPE Policy type *MOV, *ARC, *BKU, *MED, *MGR, *RCY, *RTV, *SYS Optional, Positional 1
OUTPUT Output *, *PRINT Optional
Top

Type of policy (TYPE)

Specifies the type of policy that you want to work with or print.

*MOV
You want to work with or print move policies. The report that is produced is the Move Policy report. The report, if printed, is written to printer file QP1AMP.
*ARC
You want to work with or print the archive policy. The report that is produced is the Archive Policy report. The report, if printed, is written to printer file QP1AAX.

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

*BKU
You want to work with or print the backup policy. The report that is produced is the Backup Policy report. The report, if printed, is written to printer file QP1ABX.
*MED
You want to work with or print media policies. The report that is produced is the Media Policy report. The report, if printed, is written to printer file QP1AME.
*MGR
You want to work with or print migration policies. The report that is produced is the Migration Policy report. The report, if printed, is written to printer file QP1AHX.

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

*RCY
You want to work with or print the recovery policy. The report that is produced is the Recovery Policy report. The report, if printed, is written to printer file QP1ARX.
*RTV
You want to work with or print the retrieve policy. The report that is produced is the Retrieve Policy report. The report, if printed, is written to printer file QP1ARP.

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

*SYS
You want to work with or print the system policy. The report that is produced is the System Policy report. The report, if printed, is written to printer file QP1ASP.
Top

Output (OUTPUT)

Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.

*
The output is displayed (if requested by an interactive job) or printed (if requested by a batch job).
*PRINT
The output is printed with the job's spooled output.
Top

Examples

WRKPCYBRM TYPE(*MED)

This command displays the Work with Media Policies panel.

Top

Error messages

*ESCAPE Messages

BRM1917
Feature not installed.
BRM1921
Feature not licensed.
BRM40A2
BRMS product initialization required.
Top