what is the difference between read and find ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guest
One difference is read after readin the record displays
them in sorted order of the descriptor but in case of find
the records are in sorted order of ISN
| Is This Answer Correct ? | 4 Yes | 4 No |
Can we update with histogram?
syntax for all WRITE COMMAND in natural language
How do you pass GDA into a sub program with out PDA?
Explain how to find occurrence of mu and pe fields in a file?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
Types Of Read , FIND
How to find occurrence of mu and pe fields in a file?
What is the difference between External subroutine and subprogram?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
What is data trace system 2.0 used for?
Which is more efficient - the external subroutine or a copycode coded in to a NATURAL program? And Why?
Is it possible to declare a GDA for an external subroutine?