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 have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5.
Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.



I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In t..

Answer / swetha krishna

2 setll pf
read rec

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More RPG400 Interview Questions

am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me

1 Answers  


How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.

2 Answers  


1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.

4 Answers   HCL,


Anyone help me for the below question:- If problem/error occur in *PSSR subroutine,how should I handel it in RPG program.

1 Answers  


How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?

3 Answers   HCL,


in which journalling which attributes are necessary??/

1 Answers   CTS,


Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?

4 Answers   IBM,


wat is meant by hidden field , why it is used?

4 Answers   Four soft,


You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?

1 Answers  


How to search particular records from the database file in rpg?

2 Answers  


what is ment by "MDT"

2 Answers   TCS,


are there any useful c runtime apis that I can call from rpg iv?

0 Answers   IBM,


Categories