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 i see the copy book length using file-aid ?
Explain the difference between external subroutine and subprogram?
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 ?
A field declared as P8 needs to be redefined as Alphanumeric. What would be its new size?
difference between fetch , call and callnat
How converted the natural coding for adabas
Explain the data storage?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
How to find occurrence of mu and pe fields in a file?
How to create 1 ddm that fetches 3 adabas files simultaneously?
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
What is the difference between READ BY ISN and FIND