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 do define dynamic array in cobol.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is inspect in cobol ?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
) How do u handle errors in BMS macro?
What is amode(24)?
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...)
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is the difference between external and global variables in COBOL?
Can you please let me know the centre name of INS certification in Kolkata.
How do get the result of your program directly on your pc?
) How do u handle errors in BMS macro
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?