Answer Posted / shikha
The CHAIN operation retrieves a record from a full
procedural file, sets a record identifying indicator on and
places the data from the record into the
input fields.If a file name is specified in name and access
is by key, the CHAIN operation retrieves the first record
that matches the search argument.
The READE operation retrieves the next sequential record
from a full procedural file if the key of the record
matches the search argument. If the key of the record does
not match the search argument, an EOF condition occurs, and
the record is not returned to
the program. If a READE operation is not successful, you
must reposition the file: for example,
using a CHAIN, SETGT, or SETLL operation.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
How can we override a file during runtime in rpg?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is kids-rpg?
Explain mdt?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
can I touch the array during treatments?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
How to select highest score of each subject or how to select highest income of every month?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
how can I tell when to replace the array?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
what is the difference between do while and do until?
What is ment by record level identifier?