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

what is the difference between SETON RT & RETURN?

5 Answers  


how do I play {insert rpg system here}?

0 Answers   IBM,


1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?

3 Answers  


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

4 Answers  


What would be the effect on the field where reverse image, underline and high intensity?

7 Answers   IBM,






1.The questions have given an array declaration and move operation then this statement is correct or not?

3 Answers   TCS,


I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?

6 Answers  


Why we cannot call a service program? If I add a PEP can i call the service program?

1 Answers   DELL,


ESCAPE message sent by child program can be handled by parent program using which keyword?

2 Answers  


WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?

1 Answers  


1..Write an sql query to find the employee name who is having 2 phone numebr? 2.Write an sql query to the the second highest salary of the employee?

4 Answers  


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

0 Answers  


Categories