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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using Other Software with <strong>CA</strong> <strong>Dynam</strong>/T<br />

Consequently, when the volume is opened by LIBR (after having already been<br />

AVR'd and opened by TDYNASN), it is not treated as a controlled data set, and<br />

thus EOV would be uncontrolled, and second and subsequent volumes would<br />

not be associated with data sets in the <strong>CA</strong> <strong>Dynam</strong> Catalog. There<strong>for</strong>e, make<br />

note of the following:<br />

• Multivolume files are not supported if RESTORE=STANDALONE is specified<br />

<strong>for</strong> backup<br />

• The CLOSE file name,SYSxxx,mode is required <strong>for</strong> Catalog update at close<br />

time when RESTORE=STANDALONE is specified<br />

• There can be no intervening labels between the TDYNASN OPEN and the<br />

TDYNASN CLOSE steps<br />

• Message number <strong>CA</strong>DT039W ** OPENED OFF LD PT ** is displayed <strong>for</strong><br />

each (sub)library accessed<br />

The following pages show various examples of the job control used to back up<br />

and restore catalog-controlled files.<br />

An example of the job control required to back up LIBR (sub)libraries to a<br />

<strong>CA</strong> <strong>Dynam</strong>/T-controlled data set (including support <strong>for</strong> multivolume files) using<br />

RESTORE=ONLINE is shown next.<br />

// JOB BACKUP MULTIPLE<br />

// TLBL UOUT,'DATASET.NAME,H' /* <strong>CA</strong>TALOGED - TAPEOPT=NOLABEL */<br />

// EXEC PGM=TDYNASN<br />

// ASSGN SYSXXX,DUMMY /* HANDLE PREOPEN ASSGN CHECK */<br />

/*<br />

// EXEC PGM=LIBR<br />

BACKUP LIB=XXXXXXX /* OBJECTS TO BACKUP */<br />

XXXXXXX /* - LIB(S) OR SUBLIB(S) */<br />

id='ID-FOR-BFID-RECD' - /* OPTIONAL IDENTIFIER */<br />

HEADER=LIB.SUB.MEMBER.TYPE -/* OPTIONAL MEMBER (LABEL) */<br />

INCLUDE=HISTORYFILE - /* OPTIONAL */<br />

TAPE=SYSXXX -<br />

RESTORE=ONLINE - /* STANDALONE NEEDS "OPEN" */<br />

/*<br />

// MTC CCC,SYSXXX /* POSITION LAST TAPE VOLUME */<br />

/&<br />

Chapter 2: Maintaining Tape Files 2–77

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

Saved successfully!

Ooh no, something went wrong!