Joined: 22 Jun 2016
| 0 votes |
| 0 salutes ||
|Posted: Wed Jun 22, 2016 4:15 pm Post subject: DFSORT/ICETOOL to identify Parent for a child
My Input file layout is mentioned as below (col 1-3+col 4-5 is Key).
Col 1-3 --> Prog Sol Code
Col 4-5 --> Sub Prog Sol Code (parent) which can be transferred to sub prog sol code (child) represented by col 6-7, 8-9, 10-11 and so on (can occurs up to 100 times)
Now I have to determine for a sub prog sol codes (child), what could be the sub prog sol code (Parent) from which it can be transferred?
Like if we refer the above mentioned data:
Sub prog sol ZG (child) can be transferred from ZE, ZF, ZI, EH
& Sub prog sol ZF (child) can be transferred from ZE, ZG, EH
So I want my output as below
I am new to mainframe system. Could it be done in dfsort/icetool or in Cobol? Please help me out.