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 / sairam

Using Chain we can set the pointer to the particular record
according the criteria specified in the chain operation. But
in this case, if the record is found then the pointer will
be set, otherwise i.e., if the record does not exist then
the pointer will not set. This is the reason why we check
with the %Found keyword. And moreover after reading the
record (in case if the record found and there are more
number of records with the same keyword), we can not move
to the another record, which meets the same criteria
specified in the Chain operation. So the conclusion is we
can not read more number of records with the Chain
operation, if there are more number of records exist with
the same criteria in the file.
Where as using READE, we can read all the records which meet
the same criteria using subsequent READE operation. If there
are no records with the specified criteria then the pointer
will be set to EOF.

Is This Answer Correct ?    70 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between bind by copy and bind by reference?

2405


What is a record lock error?

1707


how can you display specific subfile page on the screen in unequal subfile?

1087


how do I play {insert rpg system here}?

988


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

1205


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

1717


What is ment by record level identifier?

1094


how do I declare a minor?

1117


what is kids-rpg?

1068


How can we override a file during runtime in rpg?

1151


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1962


What is the difference between copybooks and subprocedures in as400?

1313


how do I preserve and clean the array?

1091


what is an online rpg?

1205


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

1828