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

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

4 Answers  


what is the difference between read and find ?

2 Answers   IBM,


Explain difference between read work file 1 and read work file once? Why we are using work file once?

0 Answers  


Tell me can we update with histogram?

0 Answers  


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,






What is STACK in Natural? How we can use it in Program? Give me Eg.?

2 Answers   IBM,


Explain the difference between external subroutine and subprogram?

0 Answers  


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,


How do you pass GDA into a sub program with out PDA?

2 Answers   IBM,


Describe the COBOL coding sheet

2 Answers   Cap Gemini, Royal Infotech,


how to move cursor to a particular field when position is not known?

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