JCL: How to Use Separator in DFSORT

The best example is how you can insert separators:

OUTREC FIELDS=(1,8,20C'*',9) or

OUTREC BUILD=(1,8,20C'*',9)

In the above example, inserting ‘*’ of 20 times.

Top valid separators:

  • blanks
  • zeros
  • strings
  • current date
  • future date
  • past date
  • current time

The other best idea is OUTREC, IFTHEN and OVERLAY statement. So that, you can overwrite some of the fields with your values.

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.