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

how can an indexed file be used as arrival sequence in RPG?

Answer Posted / kamlesh

do not specify K for record address type in F spec.
Use RECNO(VRRN) keyword where VRRN is packed data type
having dec pos as 0 and has length enough to hold
largest RRN of ur PF.
Now move RRN in VRRN variable and apply
VRRN Chain FILE 99
ur required record is retrieved

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a record lock error?

1814


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

1666


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

1060


what is file information data structure?

2289


how do I play {insert rpg system here}?

1082


how does the rpg element work?

1296


When it is desirable to describe files Internally?

1768


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

1786


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.

2679


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2845


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.

6627


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

2552


can I touch the array during treatments?

1219


How many program bind in one module....

2744


explain sflclr, sflend, sfldlt, and sflcsrrrn?

1399