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
Answers were Sorted based on User's Feedback
Answer / 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 |
how to move cursor to a particular field when position is not known?
how many work file we can code in jcl?
Explain the address converter?
what type of files we use in file-aid
difference between escape(top or bottom) and escape immediate(top or bottom?
What exactly is a hyperdescriptor? How does it work?
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
what is the difference between read and find ?
why do we use file-aid for seqential files?
Can we update with histogram?
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 ?
How do you receive data passed through JCL parm parameter in a Natural program ? How Data definition is defined in the program?