03.03.2015 Views

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Maintenance Commands<br />

BACKUP Command<br />

The BACKUP command writes the Audit Trail file to the tape mounted on the<br />

drive assigned to logical unit SYSnnn.<br />

The <strong>for</strong>mat of the command is shown below.<br />

BACKUP [ ADD [INPUT=SYSnnn] [TAPE=SYSnnn] ]<br />

[ ]<br />

[ INITIALIZE [DISP=KEEP] [TAPE=SYSnnn] ]<br />

ADD<br />

Required if using other optional parameters. Copies the period-to-date audit<br />

in<strong>for</strong>mation from the input (previous period-to-date tape) to the output tape<br />

and adds new in<strong>for</strong>mation.<br />

ADD is the default if only BACKUP is specified.<br />

INITIALIZE<br />

INPUT=SYSnnn<br />

Required if using other optional parameters. Initializes tape <strong>for</strong> output. The<br />

Audit Trail data is written at the beginning of the tape.<br />

Optional parameter. If ADD is used, the input tape is assigned by logical unit<br />

SYSnnn (default is SYS005.)<br />

Note: ADD and INITIALIZE are mutually exclusive.<br />

TAPE=SYSnnn<br />

DISP=KEEP<br />

Optional parameter. Assigns the output tape by logical unit SYSnnn (default is<br />

SYS006).<br />

Optional parameter. Ensures that the Audit Trail file is not cleared after the<br />

BACKUP function is run. This operand is only valid on a BACKUP INITIALIZE<br />

command. Use DISP=KEEP only <strong>for</strong> generating tapes <strong>for</strong> reporting and testing.<br />

This reduces the possibility of creating multiple copies of the same data.<br />

Examples<br />

BACKUP INITIALIZE DISP=KEEP<br />

BACKUP INITIALIZE TAPE=SYS008<br />

BACKUP ADD INPUT=SYS010 TAPE=SYS011<br />

Example Job Stream:<br />

// JOB BACKUP<br />

// ASSGN SYS006,181<br />

// TLBL DYNHIST,'<strong>CA</strong> <strong>Dynam</strong> AUDIT'<br />

// EXEC AUDTUTIL,SIZE=128K<br />

BACKUP INITIALIZE TAPE=SYS006<br />

/*<br />

/&<br />

12–6 <strong>User</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!