I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.
Answer Posted / ak
1.copy the file into array
2.read the file entil eof
3.if file-key equals to ws-arry-key(Count)
move ws-arry-key(count) to ws-dup-rec(for duplicate values)
else continue
write ws-arry-key
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How are the next sentence and continue different from each other?
Define static linking and dynamic linking.
Which Search verb is equivalent to PERFORM…VARYING?
What is the local-storage section?
What are the different open modes available in cobol?
What are the various section in data division and briefly explain them.
What is Pic 9v99 Indicates in COBOL?
Can you please let me know the centre name of INS certification in Kolkata.
Difference between array and sub-script ?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Have you used comp and comp-3 in your project? And how?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Whats the difference between search & search ALL?
What is the difference between Call and a Link?