DFSORT OUTREC Extending with OVERLAY

DFSORT OUTREC: Reformatting with OVERLAY DFSORT OUTREC: Reformatting with FINDREP

Advertisements


OVERLAY parameter can be used to extend your output record without affecting the rest of the record.


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


Name Description
Extending position of field1 in o/p fileSpecifies field1 extending 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

Notes:

The OVERLAY parameter of the OUTREC statement can be used to overlay specified columns with reformatting items, without affecting the rest of your reformatted record.

All of these reformatting features can be used with the OVERLAY parameter of the INREC statement and OUTFIL statement, as well as with the OUTREC statement.


Example: - Will update soon


DFSORT OUTREC: Reformatting with OVERLAY DFSORT OUTREC: Reformatting with FINDREP

Advertisements