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
- 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 ?    19 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 r the quality process in development

1 Answers  

Describe the COBOL coding sheet

2 Answers   Cap Gemini, Royal Infotech,

can i see the copy book length using file-aid ?

2 Answers   TCS,

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,

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

0 Answers  

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

2 Answers  

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,

What is the difference between External subroutine and subprogram?

3 Answers  

what type of files we can process thru file-aid

1 Answers   Tech Mahindra,

A field declared as P8 needs to be redefined as Alphanumeric. What would be its new size?

8 Answers  

control variable in online screens

3 Answers   Mind Tree,