Author: Arun Raj
Posted: Tue Apr 18, 2017 10:20 pm (GMT 5.5)
I think we have discussed similar topics a few months ago in the DFSORT forum. If we are bringing the sort product into this, then I would think JOINing the original input with a shortened version of itself (created as Rahul mentioned) using a JNFnCNTL would do this.
But well then, we are discussing a cobol solution here, I see enrico's logic has eliminated the need of any working storage table.
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard
Posted: Tue Apr 18, 2017 10:20 pm (GMT 5.5)
I think we have discussed similar topics a few months ago in the DFSORT forum. If we are bringing the sort product into this, then I would think JOINing the original input with a shortened version of itself (created as Rahul mentioned) using a JNFnCNTL would do this.
But well then, we are discussing a cobol solution here, I see enrico's logic has eliminated the need of any working storage table.
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard