Types Of Read , FIND
Answers were Sorted based on User's Feedback
FIND- to access one or multiple records using search
criteria .The FIND statement has several forms. The
essential ones are as follows:
• FIND
• FIND NUMBER
FIND and FIND NUMBER are completely different - FIND
retrieves data whereas FIND NUMBER queries the database.
A FIND statement has a processing loop associated with it.
READ- to access one or multiple records with different
keys even if elements of the key are unknown. It has
multiple forms as described below:
READ PHYSICAL - when all or most of the records in the file
are to be presented
(most efficient) when the sequence of records is not
important
when there is no risk of increasing record size during
update
READ BY ISN - when some or all of the records in the file
are to be presented
when the sequence of records is not important (or ISN
sequence is required)
when there is a risk of increasing record size during update
READ LOGICAL - when some or all of the records in the file
are to be presented
(least efficient) when only records within a specific key
range are to be presented
when the sequence of records presented is important
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / guest
Read has the following types:
Read logical, Read physical and Reas by ISN
| Is This Answer Correct ? | 0 Yes | 2 No |
What is a hyperdescriptor? How does it work?
What is the quality process in development?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
What is data trace system 2.0 used for?
Explain the difference between external subroutine and subprogram?
Which is more efficient - the external subroutine or a copycode coded in to a NATURAL program? And Why?
How do you pass GDA into a sub program with out PDA?
Explain difference between read(1) and read work file once?
What is Natural?
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
What exactly is a hyperdescriptor? How does it work?
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?