FABGXEXP JCL

To run the Export Utility, supply an EXEC statement and the appropriate DD statements.

The following table summarizes the DD statements.

Table 1. Export Utility DD statements
DDNAME Use Format Need
HISTORY Input KSDS Optional
HISTIN Input LRECL=80 Required
HISTMSG Output LRECL=133 Required
HISTPRT Output LRECL=133 Required
FABGEXPF Output DSORG=PS
RECFM=VB
Optional
FABGRECI Input PDS
LRECL=80
DSORG=PO
Optional
EXEC
This statement must be in the following form:
 //          EXEC PGM=FABGXEXP
HISTORY DD
This VSAM KSDS data set contains the summary information of the HD Pointer Checker run results. This data set must be allocated before you run Export Utility.

DISP=SHR should be used.

It is required if TYPE=EXPORT is specified in the HISTIN data set.

HISTIN DD
This required input data set contains control statements, which describe your specification of the processing to be done by Export Utility.
HISTMSG DD
This required output data set contains a report and messages. BLKSIZE, if coded, must be a multiple of 133.
HISTPRT DD
This required output data set contains reports and messages. BLKSIZE, if coded, must be a multiple of 133.
FABGEXPF DD
This output data set is referred to as a flat file. It contains the flat records that are exported from the HISTORY data set. If TYPE=EXPORT is specified in the HISTIN data set, it is required.
FABGRECI DD
This optional data set is a partitioned data set. Each member contains the flat file definitions. The flat file definitions describe the user-defined format of flat records.

A member name cannot be specified in the DD statement. Specify as in the following example:

//FABGRECI   DD   DISP=SHR,DSN=fabgreci.data.set

If you want to generate the flat records in the predefined formats, do not specify this data set.

If you want to generate the flat records in the user-defined format, you must specify this data set.