what is the difference between read and find ?

Answers were Sorted based on User's Feedback



what is the difference between read and find ?..

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

what is the difference between read and find ?..

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

Post New Answer

More Natural Interview Questions

Would like to know if have an expecific command that returns a code or something about the execution of a CALLNAT. For example ... CALLNAT 'SUBPRG' [parameter] [parameter] ... [here comes a code or command that checks if the CALLNAT was successful]

1 Answers  


How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?

0 Answers  


how we can find occurence of MU and PE fileds in a file?

2 Answers  


The natural file converted to PDF file if Yes then explain ?

0 Answers  


Is it possible to declare a GDA for an external subroutine?

4 Answers  






Explain how many work file we can code in jcl?

0 Answers  


Suppose 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?

0 Answers  


What is a hyperdescriptor?

0 Answers  


ADABAS basic concepts. Like inverted list, address converter ,data storage

2 Answers   IBM,


If the number of parameter is more than the expected then NAT0919 error is displayed. How many parameter are allowed in a CALL and CALLNAT statement?

3 Answers   JPMorgan Chase,


difference between read(1) and read work file once ?

3 Answers  


How do you pass data from a Natural Program to an External Subroutine? Can it share the LDA of Program as in Internal Subroutine.

4 Answers  


Categories