List Catalog Entries: Example 5

This example shows the LISTCAT command being used with the HISTORY parameter.
//LISTCAT4   JOB   ...
//STEP1      EXEC  PGM=IDCAMS
//SYSPRINT   DD    SYSOUT=A
//SYSIN      DD    *
     LISTCAT -
          ENTRIES(USER01.DATA1.EXMPL) -
          DATA -
          HISTORY
/*
The LISTCAT command's parameters are:
  • ENTRIES specifies the name of the entry to be listed.
  • DATA specifies that only the data component of the entry identified in the ENTRIES parameter are listed.
  • HISTORY specifies that the HISTORY information is displayed.