what is the difference between read and find ?
Answer Posted / 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 |
Post New Answer View All Answers
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?
Explain adabas basic concepts. Like inverted list, address converter ,data storage?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
How to find occurrence of mu and pe fields in a file?
Explain control variable in online screens?
How to receive data passed through jcl parm parameter in a natural program?
Tell me can we update with histogram?
How are you going to remove duplicates from the file that is being read?
Tell me what type of files we can process thru file-aid?
What is cobol coding sheet?
How can we see the copy book length using file-aid?
Explain how to find occurrence of mu and pe fields in a file?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?