I have dataset DS1 which has records say
1
2
3
4
5
...
...
etc
And also I have second dataset DS2 whcih has records
1
3
4
5
6
8
..
...
Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
Answer Posted / ganesh
Okay Agree with above solution. Now tell me how to do using COBOL Read statement logic.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write some characteristics of cobol as means of business language.
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.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is the difference between goback, stop run and exit program in cobol?
What is rmode(any) ?
i need a small 3d program using inline and outline.
) what is the difference between AID and HANDLE AID?
What is inspect in cobol ?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
How you can characterize tables in cobol?
A table has two indexes defined. Which one will be used by the SEARCH?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What are the cobol coding sheets?
How do you reference the fixed block file formats from cobol programs