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

chain op code firstly set the file pointer to BOF(begin of file).then look for key or rrn which is specified in factor 1.
in rpg400 EX:
 Factor1          opcode        factor2                    Key/rrn           chain       file name/record format name

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2133


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

2057


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

6616


What is the difference between iter and do?

1258


what is file information data structure?

2280


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

1057


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

1778


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.

2672


What is the difference between copybooks and subprocedures in as400?

1406


how do I play {insert rpg system here}?

1076


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

1239


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

2370


how do I declare a minor?

1205


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

1200


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

1232