Author: Bill Woodger
Subject: Reply to: Match records -
Posted: Wed Feb 22, 2017 11:39 am (GMT 5.5)
You have code to write the second record out, so DFSORT will do as asked.
If you don't want to write the second record out, don't write it.
I'm guessing you pasted the basic part of the code from somewhere (those FNAMES look... unusual) and didn't understand the code before using it. Consult the documentation on the slash-operator (/).
Subject: Reply to: Match records -
Posted: Wed Feb 22, 2017 11:39 am (GMT 5.5)
Code: |
OUTFIL FNAMES=SORTOF2, INCLUDE=(1001,1,CH,EQ,C'B'), BUILD=(1:1,500,501:501,500) |
You have code to write the second record out, so DFSORT will do as asked.
If you don't want to write the second record out, don't write it.
I'm guessing you pasted the basic part of the code from somewhere (those FNAMES look... unusual) and didn't understand the code before using it. Consult the documentation on the slash-operator (/).