Read filea And file b write the same records in both files?
Records in a but not in b record in b but not in a
Answer Posted / ram g
we can achieve this through jcl icetool utility..
but in cobol its not that easy but possible...
consider the scenario...
file 1 file2
5 2
4 1
6 9
1 4
considering this flat seq file:
here the files are not sorted in order and need not be..
so we should take first record from file1 and match with
all the four records in file2 it should continue for end of
file and do the same for file2. can use array logic.
sorting logic in cobol wont be useful here..
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Whats the difference between search & search ALL?
How do get the result of your program directly on your pc?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Write the code implementing the perform … varying.
Which is not true about evaluate statement
Write a program to explain size error.
What is the difference between Global and External Variables?
Name the divisions, which are available in a cobol program?
Define static linking and dynamic linking.
Discuss about changing dataset name in proc.
) what is the difference between AID and HANDLE AID?
What is the difference between next sentence and continue in cobol programing language?
What is redefines clause in COBOL?
Can you please let me know the centre name of INS certification in Kolkata.
What are all the divisions of a COBOL program?