Print a Catalog: Example 2

This example shows how to print a catalog. You might find this function of the PRINT command helpful in the event of a problem with your catalog.
//PRINT3   JOB  ...
//STEP1    EXEC PGM=IDCAMS
//SYSPRINT DD   SYSOUT=A
//SYSIN    DD   *
 /* PRINT THE ENTIRE CATALOG */
    PRINT -
          INDATASET(USERCAT4)
/*

The PRINT command prints the entire catalog, because there are no delimiting parameters specified.