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
how do you reference the variable unblock file formats from cobol programs
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
how to refer the data field?
How do u write test cases?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is the difference between Global and External Variables?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the difference between goback, stop run and exit program in cobol?
What are various search techniques in cobol? Explain.
Explain how you can characterize tables in cobol?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Which is not true about evaluate statement