I was asked to make a program with following input :
We have three files File1 file2 and file3 , file 1 and file2 have two records,-name and roll number
few records of file1 and file2 are same.
write a program to transfer the data
of file1 and file2 to file3 ,without duplicate.
Transfer records from two files to third file..
Moderator: Moderator Group
Good! Go ahead and do it. You are supposed to be a programmer otherwise you would not have been asked. We can do it for you but to do your work for you you will have to pay us - we have to live as well, you know. Of course you could be half way there by now if you had not spent a lot of time posting useless questions. Now, go away and do your 2 file match.
Regards
Nic
Nic
If you get stuck, post what you have tried and where you need help.
As mentioned, we will help, but will not do the work for you.
You need to create more complete "rules" for you to work from. What should happen when there are duplicate keys - which could occur in either or both files or between the files? If you know that one of the files will never contain duplicate keys, it makes the task easier.
As mentioned, we will help, but will not do the work for you.
You need to create more complete "rules" for you to work from. What should happen when there are duplicate keys - which could occur in either or both files or between the files? If you know that one of the files will never contain duplicate keys, it makes the task easier.
Have a good one
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