Reporting Space Efficient Status for a CKD device: Example 8

In this example, a space efficient status report for a particular CKD device is requested.
     //LDSEVDV  JOB   ...
     //STEP1    EXEC PGM=IDCAMS
     //SEFLC1   DD   UNIT=3390,VOL=SER=SE7A55,DISP=SHR
     //SYSPRINT DD   SYSOUT=A
     //SYSABEND DD   SYSOUT=A
     //SYSIN    DD *
        LISTDATA SEV DEV FILE(SEFLC1)
     /*
The SEFLC1 DD statement specifies a 3390 unit for which space efficient status is reported. The LISTDATA command parameters are:
  • SEV, which specifies that a space efficient status report is printed.
  • DEV, which specifies that a space efficient status report includes status for a device specified by FILE parameter.
  • FILE, which specifies SEFLC1 as the DD statement that allocates a 3390 unit and volume SE7A55.

Note that if a FlashCopy® withdraw with space release was done recently prior to generating the LISTDATA report, the report might make it look as if there is still repository space consumed. This is because the release is done asynchronously as a lower priority task in the control unit.