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
Answer Posted / 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 View All Answers
What are the pertinent COBOL
What are 77 levels used for?
How you can read the file from bottom?
Write a program that uses move corresponding.
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
For rewrite, why is it mandatory that file needs to be opened?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Whats the difference between search & search ALL?
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
how to access the file from prodution from changeman tool and to submit a file to production
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is link edit in cobol?
What rules are to be followed while using the corresponding options?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning