DFSORT OUTREC Reformatting with OVERLAY

DFSORT OUTREC: squeezing Data DFSORT OUTREC: Extending with OVERLAY

Advertisements


The reformatted output record one item at a time can be built with the BUILD or FIELDS parameter of the OUTREC statement.

The OVERLAY parameter of theOUTREC statement used to change one or a few items.


Syntax:
OPTION COPY
OUTREC OVERLAY=(Starting position of field1 in o/p file,
		Starting position of field1 in i/p file, Length of field1,overlay operation,…)

Name Description
Starting position of field1 in o/p fileSpecifies field1 starting position in the output file after sorting.
Starting position of field1 in i/p file Specifies field1 starting position in the input file after sorting.
Length of feild1Field1 physical length in input file.
Overlay operationSpecifies the overlay operation

Example: - Will update soon


DFSORT OUTREC: squeezing Data DFSORT OUTREC: Extending with OVERLAY

Advertisements