DFSORT OUTFIL Including, omitting Records

OUTFIL: Selecting and sampling by RRN OUTFIL: Saving discards

Advertisements


OUTFIL can be used with INCLUDE or OMIT parameters to include or omitting records.

Different INCLUDE or OMIT parameters can be used fordifferent OUTFIL statements.

All of the logical expressions that are valid for the INCLUDE and OMITparameters of OUTFIL.

However, the FORMAT parameter cannot specify withthe OUTFIL statement.

VBdata set considerations also apply to theINCLUDE and OMIT parameters.


Syntax:
	SORT FILEDS=(Starting position, length, data-format, A/D)
	OUTFIL FNAMES=DDNAME1, INCLUDE/OMIT COND=(….)
	OUTFIL FNAMES=DDNAME2, INCLUDE/OMIT COND=(….)
	…..
	OUTFIL FNAMES=DDNAMEn, INCLUDE/OMIT COND=(….)

Name Description
DDNAMEnDDNAME is eight character’s name that representing the actual dataset in JCL.
INCLUDE/OMITSpecifies the INCLUDE/OMIT condition for specific OUTFIL

Example: - Will update soon


OUTFIL: Selecting and sampling by RRN OUTFIL: Saving discards

Advertisements