Previewing the contents of a list

You can preview the objects that are to be included in a list by using the PREVIEW function.

About this task

When you run a utility using the PREVIEW function, DB2® expands any LISTDEF control statements into the equivalent enumerated list, prints it to SYSPRINT, and stops execution.

Procedure

To preview the objects that are included in the list:

  • Specify PREVIEW as a JCL parameter.
  • Specify PREVIEW on the OPTIONS PREVIEW control statement.