DFSORT OUTFIL Creating multiple identical copies

DFSORT OUTFIL DFSORT OUTFIL: Selecting and sampling by RRN

Advertisements


OUTFIL can be used to create multiple datasets with the same data.

The most known reason behind multiple data sets creation is backups.

If the same dataset used to take backup on different areas like disk, tapes or local site, OUTFIL will be most useful.

The same can be achieved with OUTFIL and theFNAMES parameter with an OPTION COPY statement.

The FNAMES parameteridentifies the DD statements in JCL for output data sets by their DDnames.


Syntax:
OPTION COPY
	OUTFIL FNAMES=(DDNAME1, DDNAME2,…..,DDNAMEn)

Name Description
DDNAMEnDDNAME is eight character’s name that representing the actual dataset in JCL.

Example: - Will update soon


DFSORT OUTFIL DFSORT OUTFIL: Selecting and sampling by RRN

Advertisements