If there are two files one with 100 records and other with
101 records. we have to find out the one record that is the
odd man out . What are the steps to do it

Answer Posted / ganapathi

I thing that is not correct.SUM FILEDS = NONE will just
ignore the duplicate records.
For acheving this situation first we need to sort both the
files based on the key.Then we need to compare both the
files based on the key.If it is matches fine else write the
key in to another file.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to know whether the module is dynamical or statistical?

658


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2107


What is difference between static and dynamic call in cobol?

779


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

710


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1773






Define static linking and dynamic linking.

669


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1703


what is amode(24), amode(31), rmode(24) and rmode(any)?

705


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

744


What is the difference between comp and comp-3 usage?

681


What are literals?

632


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3722


What are the different types of condition in cobol and write their forms.

660


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5695


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

710