Hi,
My Input file layout is mentioned as below (col 1-3+col 4-5 is Key).
KODZENIZGZQZRZPZFTETGTKTL
KODZFNIZEZGZQZRZPTETG
KODZGNIZEZQZRZPZFTETGTKTL
KODZINIZEZGZQZP
KODZNNIZQ
KODEHNIEIZAZBZCZDZEZFZGZPZQZR
KODXRNIXQ
Where,
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
KODZG ZE,ZF,ZI,EH
KODZF ZE,ZG,EH
I am new to mainframe system. Could it be done in dfsort/icetool or in Cobol? Please help me out.
Thanks
DFSORT/ICETOOL to identify Parent for a child
Moderators: Frank Yaeger, Moderator Group
-
- Member
- Posts: 1
- Joined: Wed Jun 22, 2016 12:09 pm
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page