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 ?    18 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 ?    3 Yes 4 No

Post New Answer




More Natural Interview Questions

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

2 Answers   Shaam,


Types Of Read , FIND

2 Answers  


Describe the COBOL coding sheet

2 Answers   Cap Gemini, Royal Infotech,


In a Natural program i used the below code for report FORMAT LS=132 PS=60 And down the line I want to change either LS/PS like FORMAT LS=120 PS=50, is it possible? How it will work?

0 Answers  


What is Natural?

4 Answers   TCS,






What is the difference between READ BY ISN and FIND

2 Answers  


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  


What exactly is a hyperdescriptor? How does it work?

3 Answers  


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

3 Answers  


How converted the natural coding for adabas

0 Answers  


why do we use file-aid for seqential files?

1 Answers   Tech Mahindra,


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 ?

6 Answers   IBM, TCS,






Categories