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.

DYN<strong>CA</strong>T Commands<br />

<strong>VSE</strong>LOCK<br />

NO<br />

Indicates that the Catalog file is shared, and enqueuing is<br />

done using the <strong>VSE</strong> external lock file rather than internal<br />

<strong>CA</strong> methods.<br />

Indicates that the Catalog is not to be shared.<br />

The default is the specification from the Catalog as backed up.<br />

Example<br />

In the following example, the Catalog will be restored and reorganized, and<br />

the password will be changed to 'SECURITY'.<br />

// JOB INITIAL AND REORG <strong>CA</strong> <strong>Dynam</strong> <strong>CA</strong>TALOG<br />

// TLBL IJSYSBK,'<strong>CA</strong> <strong>Dynam</strong> BKUP'<br />

// EXEC DYN<strong>CA</strong>T,SIZE=128K<br />

RESTORE REORG PASSWORD='SECURITY'<br />

/*<br />

/&<br />

Note: You may use RESTORE REORG to increase or decrease the size of the<br />

Catalog to a different extent, device, or device type, modify Catalog<br />

characteristics, improve access per<strong>for</strong>mance, and correct any Catalog errors<br />

which may have been noted on the BACKUP function.<br />

In most cases where a problem with the Catalog is indicated, recovery from<br />

audit is not necessary. The RESTORE REORG function was designed in part to<br />

diagnose and correct Catalog errors. If an error is suspected, you should run a<br />

BACKUP and RESTORE REORG, followed by a SCRATCH function. If the<br />

sequence completes successfully, the integrity of the Catalog can be assured.<br />

If you attempt a RESTORE REORG which would result in changing the SHARE<br />

option of the Catalog from SHARE=YES or SHARE=<strong>VSE</strong>LOCK, to SHARE=NO, a<br />

message will be issued warning you that this is being done.<br />

SCRATCH Command<br />

Use the SCRATCH command to return eligible tapes to the scratch pool and<br />

per<strong>for</strong>m internal housekeeping in the Catalog. It should be run at least once<br />

per day. Remember to always per<strong>for</strong>m a BACKUP immediately prior to<br />

per<strong>for</strong>ming the SCRATCH.<br />

If you specify the SCRATCH command without any operands, DYN<strong>CA</strong>T will<br />

produce a group of dataset reports as a by-product. It will also periodically<br />

dequeue the Catalog and wait <strong>for</strong> a short interval to allow concurrent<br />

processing in other partitions and CPUs to continue. SCRATCH needs a work<br />

file to per<strong>for</strong>m its functions.<br />

Chapter 8: Maintaining the Catalog−DYN<strong>CA</strong>T Program 8–83

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

Saved successfully!

Ooh no, something went wrong!