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

How can we see the copy book length using file-aid?

0 Answers  


Explain control variable in online screens?

0 Answers  


what is the difference between read and find ?

2 Answers   IBM,


What is the difference between READ BY ISN and FIND

2 Answers  


How can I create 1 DDM that fetches 3 ADABAS files simultaneously?

5 Answers  






Describe the COBOL coding sheet

2 Answers   Cap Gemini, Royal Infotech,


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 data trace system 2.0 used for?

0 Answers  


How to find occurrence of mu and pe fields in a file?

0 Answers  


Explain the address converter?

0 Answers  


Explain the data storage?

0 Answers  


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

2 Answers   Hexaware,


Categories