Suppose, file A has 100 records and file B has 500 records. We
want to write records common to both A and B into file C and
records which are present only in either A or B into another file D.
What should be the logic of Cobol program to achieve this?
Answer Posted / hardik dave
Use SYNCSORT and you will get all matching records in one
file and all those non matching records in another. Just
read more on SYNCSORT and you will be clear.
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
Write some characteristics of cobol as means of business language.
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is amode(24)?
What are different data types in cobol?
what is difference between cobol and cobol/400
i need a small 3d program using inline and outline.
Write a program to enter and display the names of students in a class using the occurs clause.
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.
how to access the file from prodution from changeman tool and to submit a file to production
How you can read the file from bottom?
Why did you choose to work with ibm mainframe cobol programming?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is an in line perform? When would you use it? Anything else you wish to say about it.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.