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 how many work file we can code in jcl?
What is cobol coding sheet?
Explain the data storage?
Explain how are you going to remove duplicates from the file that is being read?
How are you going to remove duplicates from the file that is being read?
Can we see the copy book length using file-aid?
How converted the natural coding for adabas
Explain how to move cursor to a particular field when position is not known?
Explain how to find occurrence of mu and pe fields in a file?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
How to receive data passed through jcl parm parameter in a natural program?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
Suppose you are processing an input file in a natural program and you want the program to fail if the file is empty. What command you use in natural to force it to fail?
Explain difference between escape(top or bottom) and escape immediate(top or bottom?
Tell me what type of files we can process thru file-aid?