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

Post New Answer

More Natural Interview Questions

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

2 Answers   TCS,

Which is more efficient - the external subroutine or a copycode coded in to a NATURAL program? And Why?

2 Answers   Hexaware,

What happens when you issue a ESCAPE ROUTINE in a program ? Will there be any compilation /Run time error.

2 Answers   Shaam,

Does Natural online require CICS or other TP systems to function? How does Natural interact with CICS? Thanks.

1 Answers  

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

2 Answers  

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

3 Answers  

what type of files we use in file-aid

1 Answers   Tech Mahindra,

what type of files we can process thru file-aid

1 Answers   Tech Mahindra,

How converted the natural coding for adabas

0 Answers  

What is the difference between READ BY ISN and FIND

2 Answers  

difference between fetch , call and callnat

3 Answers   IBM,

How do you receive data passed through JCL parm parameter in a Natural program ? How Data definition is defined in the program?

5 Answers   JPMorgan Chase,