Required Parameters

entryname
Names the cluster, alternate index, or user catalog to be exported. This parameter must be the first parameter following EXPORT. If entryname specifies an SMS-managed data set, the OUTDATASET must either be an SMS-managed data set, or a non-SMS-managed data set cataloged in the catalog determined by the catalog search order (see Order of Catalog Use).
OUTFILE(ddname)|OUTDATASET(entryname)
Specifies the name of the DD statement or the data set that is to receive the data being exported.
Portable data sets loaded by EXPORT must be sequential data sets. VSAM is not a valid data set organization for portable data sets.
OUTFILE(ddname)
Specifies the name of the DD statement of the target data set.

Only the block size for the DCB parameter should be specified in the DD statement. The default for block size for EXPORT is 2048. Block size can be given in the DD statement to override this default and improve performance.

Exception: For a nonlabeled tape, the LRECL should be specified if any of the input records are greater in size than the block size. Maximum record size is determined by the value specified with the maximum subparameter of the RECORDSIZE parameter of the DEFINE CLUSTER or DEFINE ALTERNATEINDEX command when the data set was defined.

Abbreviation: OFILE

OUTDATASET(entryname)
Specifies the name of the target data set. If OUTDATASET is specified, an attempt is made to dynamically allocate the target data set. The characteristics of the target data set are described in JCL DD Statement for a Target Data Set.

If OUTDATASET specifies an SMS-managed data set, the exported data set must either be an SMS-managed data set, or a non-SMS-managed data set cataloged in the catalog determined by the catalog search order. For information about this search order see Order of Catalog Use.

Abbreviation: ODS