OUTPUT control statement

The OUTPUT control statement specifies the DD name that is used for output.

Use an OUTPUT statement when:

  • Using the split function to read input from DFSURWF1. For more information about the split function, see Creating input for fast prefix resolution (split function).
  • Building a HIDAM (non-partitioned) primary index. This statement is optional. If specified, the DD statement that is referred to specifies a new data set where the primary index is loaded. If not specified, the primary index is loaded into the existing data set.
Tip: Do not use the OUTPUT statement when building a PHIDAM (partitioned) primary index database.
Read syntax diagramSkip visual syntax diagramOUTPUTdd_name
OUTPUT
Specifies that this is an OUTPUT statement.
dd_name
Is the name of the DD statement that is used for output.

To build a HIDAM primary index (INPUT IBSCAN), the DD statement must point to a VSAM KSDS data set.

To use the split function (INPUT DFSURWF1), the DD statement must point to a sequential file with DCB=(RECFM=VB,LRECL=900).