I have a files containing both duplicate and non-duplicate
records.The file is already sorted by a key.I want to
determine those records that are duplicate and records that
are non-duplicate.If duplicate the record is move to a
duplicate file and if non-duplicate that will be move to
valid file.thank you



I have a files containing both duplicate and non-duplicate records.The file is already sorted by a..

Answer / kk

hi,
using sort its possible.
sum fields=none,xsum
matching record present in sortout.
non matching record present in xsum.
another type using file matching concept.

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More COBOL Interview Questions

what is the use of outrecord?

0 Answers  


have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  


How to read records from flat file in reverse order through COBOL program?

14 Answers   Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,


What are the different rules of SORT operation?

0 Answers  


WT R TECHNICAL MAINFRAME QUESTION ASKED IIN ANJANASOFTEARE??

1 Answers  


whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumeric please reply ASAP?

9 Answers  


what is ASRA, AEY9?

2 Answers   IBM,


wirte a pgm in using files in which we hav 10 ,20,30 40...100 records in inputfile and i want them to be send to outputfile in reverse order. PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..

5 Answers   iGate,


how to change picture class of copy book variable inside program?

2 Answers  


What is the different between index and subscript?

3 Answers  


can you declare redefine in level 01?

8 Answers   Patni,


How to convert bunch of words in a line to relvant ASCII values?

2 Answers  


Categories