Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

difference between CHAIN and READE?

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


Please Help Members By Posting Answers For Below Questions

How can we override a file during runtime in rpg?

1137


do you use message subfiles? What are the necessary keywords required coding a message subfile?

1076


what is kids-rpg?

1058


Explain mdt?

1065


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...?

1984


can I touch the array during treatments?

1113


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1653


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...

1819


How to select highest score of each subject or how to select highest income of every month?

1708


which program rpg or cl is efficent to update a transaction onto a database file and why ?

1192


how can I tell when to replace the array?

1151


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?

1866


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2941


what is the difference between do while and do until?

1184


What is ment by record level identifier?

1085