COuld you please let me know along with a sample on how are
you going to remove duplicates from the file that is being
read.
Thanks
Sam
Answer Posted / nitin
steps are as below
1. file should be in sorted order
2. you can use either at break statement on the descriptor
and then do the validation or you can used desctiptor field
for comparison of secod record and first record, if the
descriptor values are same then escape top
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Explain difference between read(1) and read work file once?
Explain difference between escape(top or bottom) and escape immediate(top or bottom?
How can we see the copy book length using file-aid?
Tell me can we update with histogram?
In a Natural program i used the below code for report FORMAT LS=132 PS=60 And down the line I want to change either LS/PS like FORMAT LS=120 PS=50, is it possible? How it will work?
What is the quality process in development?
How to create 1 ddm that fetches 3 adabas files simultaneously?
Define cobol coding sheet?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
How are you going to remove duplicates from the file that is being read?
What is cobol coding sheet?
How to find occurrence of mu and pe fields in a file?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
How converted the natural coding for adabas
What is a hyperdescriptor?