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 how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
Is it possible to code GOTO statement in NATURAL? if yes please provide the syntax of the same
What is the difference between External subroutine and subprogram?
Can we see the copy book length using file-aid?
what is the difference between read and find ?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
What is a hyperdescriptor? How does it work?
syntax for all WRITE COMMAND in natural language
Would like to know if have an expecific command that returns a code or something about the execution of a CALLNAT. For example ... CALLNAT 'SUBPRG' [parameter] [parameter] ... [here comes a code or command that checks if the CALLNAT was successful]
Tell me can we update with histogram?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
What is a hyperdescriptor?