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
- 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 ?||18 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 ?||3 Yes||4 No|
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
Which is more efficient - the external subroutine or a copycode coded in to a NATURAL program? And Why?
What happens when you issue a ESCAPE ROUTINE in a program ? Will there be any compilation /Run time error.
Does Natural online require CICS or other TP systems to function? How does Natural interact with CICS? Thanks.
how we can find occurence of MU and PE fileds in a file?
difference between read(1) and read work file once ?
what type of files we use in file-aid
what type of files we can process thru file-aid
How converted the natural coding for adabas
What is the difference between READ BY ISN and FIND
difference between fetch , call and callnat
How do you receive data passed through JCL parm parameter in a Natural program ? How Data definition is defined in the program?