DSI (Data Set Information)

Purpose
Display detailed dataset information.
Usage notes
Use this function to print the details about a data set. The data set information printed (returned) corresponds to the INFO primary command output for online processing. If the data set is migrated, File Manager recalls the data set to provide the required data set information.
Options
None.
Related functions
DSX
Print disk dataset EXTENT information
DVT
Print VTOC entries
Figure 1. Syntax

1 DSI
1 INPUT=ddname
1 DSNAME=dsname?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 Info
//*
//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 DSI INPUT=DISK
$$FILEM DSI DSN=SYS1.PROCLIB equivalent DSN use
$$FILEM EOJ
/*