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 / suresh
sort the file by using key...and perform matching logic
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you reference the following 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.
How to print 10 to 1 if the input have only 10 digit number?
) how do u code after getting data?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Can you please let me know the centre name of INS certification in Kolkata.
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Write a cobol program making use of the redefine clause.
how do you reference the variable unblock file formats from cobol programs
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Name the divisions, which are available in a cobol program?
Write the code implementing the perform … varying.
For rewrite, why is it mandatory that file needs to be opened?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?