2 Incredible DFSORT Insert Separators Examples in JCL

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.

The following are 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.

Advertisements

Author: Srini

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