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?

Answers were Sorted based on User's Feedback



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

Answer / sanpra

To achieve this on 'F' Spec leave the 'Record address type'
option as blank ( i.e. don't specify 'K' - Keyed or
anthying) .

Is This Answer Correct ?    25 Yes 1 No

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

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

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

Answer / ttom

How will chain be used if 'K' is not specified as address
type in the f spec

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More RPG400 Interview Questions

i'm working on progA , in that program i want to see the userids of the users who work on this program?

10 Answers   Four soft,


Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC

2 Answers  


How can i check the object existance in RPG program without using QCMDEXC command.

7 Answers   IBM, JDA,


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


what r drawbacks of OPM? Why do we go for ILE RPG?

1 Answers  


What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file

1 Answers  


how do I play {insert rpg system here}?

0 Answers   IBM,


How Commitment and Roll back control is used in as400, explain with real time senario ???

2 Answers   Acolite, HSBC,


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

0 Answers  


Can we create 300 logical files based on a single physical file using the CRTLF command only once?.

8 Answers  


What is the Record Address file. How can we use it in RPG program?

4 Answers  


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

3 Answers   IBM,


Categories