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 |
Explain the difference between external subroutine and subprogram?
What is the quality process in development?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
How can we see the copy book length using file-aid?
How are you going to remove duplicates from the file that is being read?
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 ?
difference between read(1) and read work file once ?
How do you pass data from a Natural Program to an External Subroutine? Can it share the LDA of Program as in Internal Subroutine.
Explain difference between escape(top or bottom) and escape immediate(top or bottom?
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Explain why do we use file-aid for seqential files?
control variable in online screens