FDREPORT EXTRACT Statement


EXTRACT statement

The EXTRACT statement is used to specify the options to be used when creating an extraction file from the tape management product.

EXTRACT statement syntax

EXTRACT

PRODUCT={CA1|RMM}


,DISPOSITION={DELETE|RETAIN}


,DSNAME=dsn


,SPACE=cyl


,STORCLAS=storclas


,UNIT=unit

PRODUCT=

CA1

Build an extract file from data in the CA 1 tape management product.

RMM

Build an extract file from data in the DFSMSrmm tape management product.

Default: RMM.

DISPOSITION=
DELETE

Delete the extract file after completion of FDREPORT processing.

RETAIN

Keep the extract file after completion of FDREPORT processing.

Default: DELETE if created by the FDREPORT EXTRACT statement. RETAIN if previously created and passed to FDREPORT via the CA1XTR DD Statement or RMMXTR DD Statement.

DSNAME=

dsn

The name to use for extraction file. Useful when you are also specifying DISP=RETAIN.

Default: A data set name is generated incorporating the userid, date, and time values.

STORCLAS=

storclas

The SMS Storage class to assign to this extraction file. If STORCLAS= is not specified, then UNIT= is used for allocation of the extract file.

SPACE=

cyl

Specifies the number of cylinders to allocate to this extraction file.

Default: The value specified by the SYSUTSPACE= operand is used.

UNIT=

unit

Specifies the unit value to assign to this extraction file when performing the allocation.

Default: The value specified by SYSUTUNIT= operand is used.

Important

When specifying PRODUCT=CA1, SORTALLOC=YES is required to allocate the SORTWORK DD statements necessary when producing the EXTRACT file. This operand must be specified on a prior DEFAULT statement. Additionally, the CA 1 TMC must be identified to FDREPORT prior to the EXTRACT statement. The CA 1 TMC can be identified in the JCL or with the CA1TMC= operand on the DEFAULT statement. For example:

DEFAULT SORTALLOC=YES,CA1TMC=CA1.TMC

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*