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 difference between read(1) and read work file once?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
Explain the like inverted list?
Explain how to move cursor to a particular field when position is not known?
How to create 1 ddm that fetches 3 adabas files simultaneously?
How to receive data passed through jcl parm parameter in a natural program?
Explain how many work file we can code in jcl?
The natural file converted to PDF file if Yes then explain ?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
What is data trace system 2.0 used for?
What is a hyperdescriptor? How does it work?
Explain the data storage?
Explain how to find occurrence of mu and pe fields in a file?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?