The CATLG statement is used to generate a non-VSAM entry in a catalog.
The UNCATLG statement is used to remove a non-VSAM entry from the
catalog.
You cannot use IEHPROGM to catalog or uncatalog data sets (except
by renaming or scratching them) which are SMS-managed. IEHPROGM can
only be used to catalog or uncatalog non-VSAM data sets which are
not SMS-managed. To catalog or uncatalog SMS managed data sets, see z/OS DFSMS Managing Catalogs and z/OS DFSMS Access Method Services Commands.
The syntax of the CATLG and UNCATLG statements is:
Label |
Statement |
Parameters |
---|
[label]
|
{CATLG|
UNCATLG}
|
DSNAME=name ,VOL=device={(list)|
(serial,seqno[,...])}
|
Note: VOL can only be coded with CATLG
|
where:
- DSNAME=name
- specifies the fully qualified name of the data set to be cataloged
or uncataloged. The name must not exceed 44 characters, including
delimiters.
- VOL=device={(list)| (serial,seqno[,...])}
- specifies the device type, serial numbers, and data set sequence
numbers (for tape volumes) of the volumes (up to 50) that contain
the data sets to be cataloged in the catalog.
Always use generic
device names (for instance, 3390) for device.
The
volume serial numbers must appear in the same order in which they
were originally encountered (in DD statements within the input stream)
when the data set was created. Multiple serial numbers should be separated
with commas.
Seqno is valid only for data sets which reside on tape. This
value is meaningful for only the first volume serial. The maximum
value that you can code in z/OS V1R5 or later is 65535. If you expect
to use this catalog entry on an earlier level of the system than that,
do not code a value that exceeds 9999. For more information on file
sequence numbers, see z/OS DFSMS Using Magnetic Tapes
VOL can only be coded with CATLG.