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
Figure 1. Syntax

1 DSX
1 INPUT=ddname
1 DSNAME=dsname?VOLSER=volser
1 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
//*
//FMBAT    PROC
//FMBAT    EXEC PGM=FILEMGR
//STEPLIB  DD DSN=FMN.SFMNMOD1,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//         PEND
//*
//FILEMGR  EXEC FMBAT
//DISK     DD DSN=SYS1.PROCLIB,DISP=SHR
//SYSIN    DD *
$$FILEM DSX INPUT=DISK
$$FILEM EOJ
/*