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


Please Help Members By Posting Answers For Below Questions

How to print 10 to 1 if the input have only 10 digit number?

813


How can you get the ksds file records into your cobol program?

644


Can we redefine the field of x(200) to less than 200?

822


Write down the divisions of cobol program?

671


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645






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

714


What is the difference between goback, stop run and exit program in cobol?

932


Which mode is used to operate the sequential file?

671


What rules are followed by the search verb.

638


Write the code implementing the perform … varying.

646


What is the difference between PIC 9.99 and PIC9v99?

783


How do you reference the following file formats from cobol programs?

697


how can i see junk values in dclgen or in hostvariable of comp ?

2546


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

425


How to know whether the module is dynamical or statistical?

658