z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


List an SMS-Managed Data Set: Example 1

z/OS DFSMS Access Method Services Commands
SC23-6846-01

In this example, the HISTORY parameter is used to list an SMS-managed data set.
//LISTCAT1 JOB  ...
//STEP1    EXEC PGM=IDCAMS
//SYSPRINT DD   SYSOUT=A
//SYSIN    DD   *
      LISTCAT -
           ENTRIES(USER01.DATA1.EXAMPL) -
           CLUSTER -
           HISTORY
/*
The CLUSTER parameter specifies that only the cluster component of the entry identified in the ENTRIES parameter are listed. The HISTORY parameter causes the display of the HISTORY information along with the SMS classes and last backup date. The SMS information appears in the following format:
SMSDATA
  STORAGECLASS-----------SC4      MANAGEMENTCLASS-MGTCL004
  DATACLASS-----------DCL021      LBACKUP----2003.221.0255
If the last backup date had been unavailable, LISTCAT would have displayed:
LBACKUP------XXXX.XXX.XXXX

An example of the complete output resulting from this LISTCAT command is shown in Figure 1.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014