DSX (Data Set Extents)

Purpose
Display the extents of a data set.
Usage notes
Use this function to display the “begin” and “end” of the extents of a data set.

Use the information for all basic disk functions which require the location of a disk extent.

For multivolume data sets, only the extents on the selected volume are shown.

Absolute disk extents and disk extents relative to the beginning of the data set are displayed.

Options
None.
Related functions
DSU
Update disk data set records
DVT
Print VTOC entries
Read syntax diagramSkip visual syntax diagram
Syntax

>>-DSX--+-INPUT=ddname--------------------+--------------------><
        +-DSNAME=dsname-+---------------+-+   
        |               '-VOLSER=volser-' |   
        '-VOLSER=volser-------------------'   

ddname
Refers to a DD or TSO ALLOC statement.
dsname
Name of a disk data set.
volser
Volume serial number for a non-cataloged data set.
//DP  JOB (acct),'name'  Data Set Extents
//*
//HFMBAT    PROC
//HFMBAT    EXEC PGM=HFMMAIN
//STEPLIB  DD DSN=HFM.SHFMMOD1,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//         PEND
//*
//ZDTOOLS  EXEC HFMBAT
//DISK     DD DSN=SYS1.PROCLIB,DISP=SHR
//SYSIN    DD *
$$FILEM DSX INPUT=DISK
$$FILEM EOJ
/*