What is the difference between READ BY ISN and FIND
Answer Posted / kazim zaidi
Read by ISN i.e. Read Physical
File read in sequential order
you don't need to know the ISN
However, GET #ISN - you need to know ISN
Usually you read by Physical or by Descriptor, if the record meets certain criteria for update, record is read using GET followed by UPDATE (or DELETE).
FIND - Finds record based on the Descriptor value, if partial value given it creates a loop.
If you know the unique Descriptor value you can also code
FIND(1) filename ....
just to retrieve one record
Is This Answer Correct ? | 1 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 is it possible to code goto statement in natural? If yes please provide the syntax of the same?
What is a hyperdescriptor?
The natural file converted to PDF file if Yes then explain ?
How converted the natural coding for adabas
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain the difference between external subroutine and subprogram?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
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?
What is the difference between read(1) and read work file once?
Explain how to find occurrence of mu and pe fields in a file?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
Define cobol coding sheet?
How can we see the copy book length using file-aid?