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 Cataloged In<strong>for</strong>mation<br />

Protecting Data Sets<br />

Password Protection<br />

Specify a data set password in the DYN<strong>CA</strong>T DEFINE command to protect<br />

individual data sets from unauthorized access.<br />

The following example assigns the password RESTRICT to the data set. The<br />

password is required be<strong>for</strong>e the characteristics of the data set can be manually<br />

modified.<br />

DEFINE 'PAYROLL FILE' NGEN=7 PASSWORD='RESTRICT'<br />

To modify the number of retention generations <strong>for</strong> PAYROLL FILE, you must<br />

issue the following command:<br />

ALTER 'PAYROLL FILE' PASSWORD='RESTRICT' NGEN=5<br />

The password is not required <strong>for</strong> online access to the data set or DYN<strong>CA</strong>T ADD<br />

modifications of the data set. Use the ALTER command's LOCK option to<br />

prohibit all modifications to a data set (locking the data set):<br />

ALTER 'PAYROLL FILE' LOCK PASSWORD='RESTRICT' (The proper password unlocks the<br />

data set.)<br />

There can be no maintenance on a locked data set; no new versions can be<br />

created. The existing versions of the data set can still be called <strong>for</strong> as input,<br />

however. You can lock out input access, as well:<br />

ALTER 'PAYROLL FILE' UNLOCK PASSWORD='RESTRICT'<br />

ALTER 'PAYROLL FILE' VERSION=1 LOCK PASSWORD='RESTRICT'<br />

ALTER 'PAYROLL FILE' LOCK PASSWORD=RESTRICT<br />

To lock a particular version, the data set as a whole must first be unlocked.<br />

To change a data set password, use the ALTER command. The following<br />

example replaces the PAYROLL FILE password, RESTRICT, with the new<br />

password, SECURITY.<br />

ALTER 'PAYROLL FILE' PASSWORD='RESTRICT' NEWPSWD='SECURITY'<br />

Establishing Data Set Ownership<br />

You can establish data set ownership with the DYN<strong>CA</strong>T DEFINE and ALTER<br />

commands. This is different from Catalog ownership. Data set ownership<br />

enables you to divide the tape library into sublibraries.<br />

Chapter 2: Maintaining Tape Files 2–57

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

Saved successfully!

Ooh no, something went wrong!