DFSORT OUTFIL

DFSORT INREC: Inserting sequence numbers DFSORT OUTFIL: Creating multiple identical copies

Advertisements


One or more output data sets and reports can be created from a single pass oversorted, merged, or copied input using OUTFIL control statements.

Different OUTFIL parameters on different OUTFIL statements can be used.

The output records created by the processing for the otherstatements are the input records for OUTFIL processing.

Combining the various DFSORT statements in different ways gives a lot offlexibility.

OUTFIL statements can be used with different INCLUDE or OMIT and OUTREC, OVERLAY, or IFTHEN parameters for creating different OUTFIL files.

The following tasks can perform with each OUTFIL statement,

  1. Repeating records with the REPEAT parameter.
  2. Creating detailed reports using the BUILD, OUTREC, OVERLAY, IFTHEN, HEADERn, TRAILERn, SECTIONS, LINES, NODETAIL, BLKCCH1, BLKCCH2, BLKCCT1, and REMOVECC parameters.
  3. Selecting a sequential subset of records with the STARTREC and ENDRECparameters.
  4. Limit the number of records selected with the ACCEPT parameter.
  5. Selecting a sample of records with the SAMPLE parameter.
  6. Selecting "discarded" records with the SAVE parameter which saves anyrecords that are not selected as a result of STARTREC, ENDREC, SAMPLE,INCLUDE, OMIT or ACCEPT parameters.
  7. Selecting a subset of records with the INCLUDE and OMIT parameters.
  8. Reformat records with fixed position/length fields or variable position/lengthfields using the PARSE, BUILD, OUTREC, OVERLAY, or IFTHEN parameters.
  9. Splitting records between output data sets using the SPLIT, SPLITBY, and SPLIT1Rparameters.
  10. Converting FB records to VB records with the FTOV parameter, or convert VB records to FB records with the VTOF parameter.
  11. Update count and total values in an existing trailer (last) recordwith the IFTRAIL parameter.

Example: - Will update soon


DFSORT INREC: Inserting sequence numbers DFSORT OUTFIL: Creating multiple identical copies

Advertisements