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

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

0 Answers  


difference between fetch , call and callnat

3 Answers   IBM,


differnce between read work file 1 and read work file once? why we are using work file once?

4 Answers  


What is the difference between READ BY ISN and FIND

2 Answers  


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

2 Answers  






Is it possible to code GOTO statement in NATURAL? if yes please provide the syntax of the same

1 Answers  


syntax for all WRITE COMMAND in natural language

7 Answers  


what type of files we use in file-aid

1 Answers   Tech Mahindra,


what is the difference between read and find ?

2 Answers   IBM,


what r the quality process in development

1 Answers  


Can we update with histogram?

2 Answers  


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

2 Answers   Shaam,






Categories