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

I know chain keyword retreive records randomly but how chain
keyword exactly works internally????

Answer Posted / drew

CHAIN:
positions current record to correct record based on key
sets HI indicator *ON if position fails and sets %found()
off in free-form code
reads the record fields into the automatic internal buffer
fields
locks the record, if in update mode and "no lock" has not
been added to the command ( chain(n))

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is kids-rpg?

1107


what are the key words you must use when using a subfile?

1158


how does the rpg element work?

1207


When it is desirable to describe files Internally?

1691


How Chain operation copies the record's data to the input buffer for the program?

1579


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2611


what is the difference between do while and do until?

1230


How can we override a file during runtime in rpg?

1185


what was the robotech rpg?

1188


what is the necessary keyword needed to scroll subfile records?

1138


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

1113


How can we know running job is batch or interactive?

1104


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

1090


What is ment by record level identifier?

1129


how do you use commitment control in rpg?

1262