Listing Subsystem Status: Example 4

In this example, a Subsystem Status report is requested.
     //LISTDAT4  JOB   ...
     //STEP1     EXEC  PGM=IDCAMS
     //LISTVOL2  DD    UNIT=3390,VOL=SER=VOL269,DISP=SHR
     //SYSPRINT  DD    SYSOUT=A
     //SYSIN     DD    *
       LISTDATA STATUS FILE(LISTVOL2) WTO
     /*
The LISTVOL2 DD statement specifies a 3390 unit for which subsystem status is reported. The LISTDATA command parameters are:
  • STATUS, which specifies that a Subsystem Status report be printed.
  • FILE, which specifies LISTVOL2 as the DD statement that allocates a 3390 unit and volume VOL269.
  • WTO, which specifies that informational messages on the system console are displayed indicating the status of the subsystem, NVS, DASD fast write, and the duplex pair if the addressed device is one of a duplex pair. For example, WTO can produce messages similar to the following:
    IDC01552I SUBSYSTEM CACHING STATUS: ACTIVE-DEV X'123'
    
             IDC01553I NVS STATUS: DEACTIVATED-PROCESSOR/SF-DEV X'123'
    
             IDC01554I DASD FAST WRITE STATUS: ACTIVE-DEV X'123'
    
             IDC01555I DUPLEX PAIR STATUS: PENDING-PRI DEV X'123' SEC DEV X'01'
    
             IDC01556I CACHE FAST WRITE STATUS: DISABLED-DEV X'123'