Backup and Restore 2 Manual

Using the BRCOM Command Interface
Backup and Restore 2 Manual522696-019
4-8
Using the BRCMD File
Configuration options, if being used, must be in the IN file.
Using an IN File for a Standard (T9074) BACKUP or
RESTORE Command
You can use an IN file from the BRCOM prompt to start a standard (T9074) BACKUP
or RESTORE job.
For example:
BR> backup/in grdnin/;
where,
grdnin is the IN file.
The following is the sample of the IN file called grdnin:
$tape, $system.system.zzsa*, listall, nounload
Using the BRCMD File
You can restore the BRCMD file using the RESTOREBKUPSPEC job option. For more
information, see RESTOREBKUPSPEC Job Option on page 7-49. You can use the
BRCMD file to check what specifications and options were used during a backup job.
You can use the BRCMD file as an IN file, but some modifications might be required.
For example:
If the original command specified a job ID, you cannot use the same job ID again if
it still exists in the BRJOBS file. You must edit the BRCMD file to use a different job
ID or to omit the job ID.
If the original BACKUP command specified the LISTALL ON job option but not the
OUT job option, the home terminal being used at the time is listed as the OUT file
in the BRCMD file. If this home terminal does not currently exist or is not available,
an error occurs.
Reusing a JOB ID After a BRCOM Error
If an error occurs while BRCOM is starting a job, it cleans up all job-related information
under normal circumstances:
If a BRCMD file has been created for the job, BRCOM purges it.
If the job record has been added to the BRJOBS file, BRCOM deletes it.
If all job-related information has been cleaned up, you can correct the problem and
start the job again using the same job ID. However, DMA might abend before BRCOM
can send the message telling it to start the job. In that case, you must use the
CLEANUP JOB Command on page 5-8 and then the DELETE JOB Command on
page 5-9 before you can use the same job ID.