If there are two files one with 100 records and other with
101 records. we have to find out the one record that is the
odd man out . What are the steps to do it
Answer Posted / arpan
Open File 1 in 3.4.
Give command COMP 'FILE2'. It will give you the extra
record in file2.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
In COBOL, what is the different between index and subscript?
Write the code to count the sum of n natural numbers.
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?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Have you used comp and comp-3 in your project? And how?
How you can characterize tables in cobol?
What is a scope terminator give example?
What the difference is between continue and next sentence?
What is link edit in cobol?
What are 77 levels used for?
how to refer the data field?
Write some characteristics of cobol as means of business language.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?