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


Please Help Members By Posting Answers For Below Questions

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?

572


Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?

594


What is a hyperdescriptor?

522


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

2652


How converted the natural coding for adabas

2686






How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?

607


Explain the difference between external subroutine and subprogram?

611


What is the difference between escape(top or bottom) and escape immediate(top or bottom?

554


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?

1438


What is the difference between read(1) and read work file once?

570


Explain how to find occurrence of mu and pe fields in a file?

497


What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?

550


What is the difference between read work file 1 and read work file once? Why we are using work file once?

528


Define cobol coding sheet?

566


How can we see the copy book length using file-aid?

545