Previous Topic: 3.5.1 Creating a Data Set Ownership Table

Next Topic: 3.6 Bypassing the Execution Run Time Screen

3.5.2 Modifying a Data Set Ownership Table


After the Data Set Group Table is created, you must assign
meaningful group names to each data set prefix.  Use the
"Work Data Set Maintenance" option from the CA MICS
StorageMate and MICF Options menu to edit the table you have
just created.  You will see an ISPF edit screen showing two
columns.  The left column contains the data set prefixes that
exist on your system, and the right column contains the
default group description you assigned to each group.

You may want to edit the left column to reduce the number of
entries in the table.  Even though the table is created with
full data set nodes, the trailing asterisk that is present
for each entry can follow any character.  For example, assume
you specified that each table entry should be based on the
first two nodes of the data set name, and the resulting table
contained the following seven entries for payroll data sets:

      DSN=PAY.CNTLBOB.*   DEFAULT-GROUP
      DSN=PAY.CNTLSAM.*   DEFAULT-GROUP
      DSN=PAY.MASTNEW.*   DEFAULT-GROUP
      DSN=PAY.MASTOLD.*   DEFAULT-GROUP
      DSN=PAY.QTEST.*     DEFAULT-GROUP
      DSN=PAY.RTEST2.*    DEFAULT-GROUP
      DSN=PAY.ZTEST.*     DEFAULT-GROUP

The first two entries represent data sets belonging to Bob
and Sam, the two production control people that run payroll.
The next two entries represent production data sets.  The
final three entries represent data used in payroll testing.
After editing, these seven entries might be reduced to the
following three:

      DSN=PAY.CNTL*       PAYROLL-CONTROL
      DSN=PAY.MAST*       PAYROLL-PROD
      DSN=PAY.*           PAYROLL-TEST

When using the table to determine data set grouping, the
entries are tested in the order they appear in the table, and
the first match stops the table search.  Thus, in the above
example, all payroll data sets that do not start with a
payroll control or production node will be assigned to the
payroll test group.

Use the right column of each table entry to describe the data
set group.  This description MUST NOT contain imbedded
blanks--use a dash or slash as a separator.  If you use a
space as a separator, CA MICS StorageMate will stop reading
your description at the space, and will ignore the remainder.
The description may be up to 40 characters in length, but
some reports truncate after the first 16 characters.  Make
sure the first 16 characters are unique for each group.

The example above assumes you are using a table that does not
support masking characters (this decision is made when the
table is created).  The example shown below is from a table
that does support mask characters:

      DSN=OPER1.**        DEFAULT-GROUP
      DSN=OPER2.**        DEFAULT-GROUP
      DSN=OPER3.**        DEFAULT-GROUP
      DSN=TESTATM.**      DEFAULT-GROUP
      DSN=TESTPAYR.**     DEFAULT-GROUP
      DSN=TESTS1.**       DEFAULT-GROUP

Notice that the syntax is different for a table containing
mask characters, and that a prefix is indicated by two
trailing asterisks.  The modified version of this table is
shown below:

      DSN=**.ISP%LIB      ISPF-APPL-DEVELOPMENT
      DSN=**.*SYSP*.**    SYSTEMS-PROGRAMMING
      DSN=OPER%.**        SYSTEM-OPERATORS
      DSN=TEST*.**        PRODUCT-TESTING

Two new entries have been inserted at the beginning of the
table, one to group ISPF libraries and one to group data sets
belonging to systems programming.  The original six entries
for operations and product testing have been reduced to two
entries.

The masking characters that are supported are further
described in the Facility Procedures section under the
heading "Instructions for Creating and Maintaining the
Pattern File" at the end of Chapter 4 of this guide.

You have just created a Data Set Group Table.  This table now
exists as a member within your Work Data Set and can be used
to assign data set ownership in any StorageMate report that
supports this facility.