Answer Posted / niki
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 |
Post New Answer View All Answers
Tell me what type of files we can process thru file-aid?
How to receive data passed through jcl parm parameter in a natural program?
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Explain the address converter?
Explain why do we use file-aid for seqential files?
The natural file converted to PDF file if Yes then explain ?
Explain how are you going to remove duplicates from the file that is being read?
What is a hyperdescriptor? How does it work?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
What is the difference between read(1) and read work file once?
What is the quality process in development?
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?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
Explain how to find occurrence of mu and pe fields in a file?