what is the difference between read and find ?
Answer Posted / sundar selvaraj
- Read is a sequential operation whereas FIND is a random
search.
- Read returns records in the order of descriptor whereas
FIND returns records records in the ISN order
- Though both READ & FIND intiate a processing loop, READ
command returns only *COUNTER and *ISN. FIND returns
*NUMBER, *COUNTER AND *ISN
- Dynamic change of read direction is possible with READ.
This is not possible with FIND.
- Read is considered efficient for a large number of
records. FIND is efficient for a smaller number of records.
| Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
Explain control variable in online screens?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
In a Natural program i used the below code for report FORMAT LS=132 PS=60 And down the line I want to change either LS/PS like FORMAT LS=120 PS=50, is it possible? How it will work?
Can we see the copy book length using file-aid?
How to find occurrence of mu and pe fields in a file?
Tell me can we update with histogram?
Explain the address converter?
How to receive data passed through jcl parm parameter in a natural program?
Can you explain control variable in online screens?
The natural file converted to PDF file if Yes then explain ?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
What is a hyperdescriptor?
Explain difference between read(1) and read work file once?
How converted the natural coding for adabas