CNS DOCWEB Home
CNS Home Page
CNS Publications Page
Search All CNS Docs

DOCWEB Logo Entire document
Available as PDF


Table of Contents

DSAT
JCL
Accessing Documentation of DSAT Keywords

DSAT

You can use DSAT for displaying allocation information about data sets. DSAT will search the catalog for the entries for the data sets specified. Allocation information will be obtained from the volume table of contents (VTOC), formatted, and displayed. If a name is an index name, all data sets below the index will be displayed.

The user may bypass the catalog search by supplying the volume serial on which the data set resides. This option permits displaying information for an uncataloged data set.

The user can select the attributes to be displayed by specifying keyword operands.

The DSAT command may be used in TSO CLIST or REXX command procedures to find the allocation of a data set or a group of data sets and set the return code to the specified value. The return code may then be tested with the WHEN command. Output may be supressed by specifying NOPRINT. The HARDCOPY keyword may be used to direct the output to a pre-allocated data set.

The user may choose the information to be displayed by entering keywords. The information that may be displayed is:

  1. Volume Serial on which the data set is located

  2. File sequence number

  3. Device type code from catalog entry

  4. Allocation (allocated, used, and extents)

  5. Secondary allocation (amount and units)

  6. Data set organization

  7. DCB (RECFM, BLKSIZE, and LRECL).

  8. Creation date

  9. Expiration date

  10. Last date referenced (MVS SU 60)

  11. Fully qualified data set name

  12. CCHHR of the format 1 DSCB

  13. Generation Data group data

  14. PDS directory information.

JCL

Figure 12. JCL for Using the DSAT Procedure

//jobname JOB ,'your name',CLASS=class,TIME=(mm,ss),LINES=lines
/*ROUTE PRINT node.location
//   EXEC TSO
//SYSIN DD *
 DSAT 'UF.userid' PDS SEC LAST GDG
/*

Accessing Documentation of DSAT Keywords

To output a list of DSAT keywords, enter the following JCL. Figure 2 shows the JCL for outputting a list of DSAT keywords.

Figure 13. JCL for DSAT Keywords

//jobname JOB ,'your name',CLASS=class,TIME=(mm,ss),LINES=lines
/*ROUTE PRINT node.location
// EXEC TSO
// SYSIN DD *
  HELP DSAT
/* 
CNS DOCWEB Home
CNS Home Page
CNS Publications Page
Search All CNS Docs