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
Differentiate between structured cobol programming and object-oriented cobol programming.
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How to print 10 to 1 if the input have only 10 digit number?
Write a cobol program making use of the redefine clause.
how do you reference the printer file formats from cobol programs
what is difference between cobol and cobol/400
What is the difference between goback, stop run and exit program in cobol?
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 ?
Can a Search can be done on a table with or without Index?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Explain about different table spaces.
How do you define a variable of comp-1 and comp-2?
How do u write test cases?
What rules are followed by the search verb.