CL Command Reference - STRARCBRM

CL Command List > STRARCBRM Reference

Description:

The Start Archive using BRM (STRARCBRM) command selects a control group and begins the archive process. You can start the archive immediately or you can schedule it using the system job scheduler. Processing can be batch or interactive.

Note: The default value for the Option (OPTION) parameter is *REPORT, which produces a report of archive candidates. To perform an archive you must change the OPTION parameter to *ARCHIVE.

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

Restrictions:

. The BRMS Advanced feature (Option 2) is required to use this command.

. The special values *LOAD and *EXIT are ignored when you choose the *REPORT option.

. This command should not be used by control group *EXIT item processing as results will be unpredictable.


Examples:

Example 1: Producing a Report of Archive Candidates

STRARCBRM CTLGRP(ARCH01) SCHTIME(1230)

This command will start processing for archive control group ARCH01 at 12:30 p.m.. A report of all archive candidates is produced.



Example 2: Processing an Archive

STRARCBRM CTLGRP(ARCH01) OPTION(*ARCHIVE) SCHTIME(1230)

This command will start archiving, using archive control group ARCH01, at 12:30 p.m..