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 |
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 the address converter?
how to ftp the natural program to desktop? (from mainframe to pc), is it possible?
Explain control variable in online screens?
What is the difference between External subroutine and subprogram?
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain why do we use file-aid for seqential files?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
What is STACK in Natural? How we can use it in Program? Give me Eg.?
difference between read(1) and read work file once ?
why do we use file-aid for seqential files?