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



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

Answer / mahalakshmi

BY USING RUNQRY

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

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

3 Answers   IBM,


what is data area and how it is used in rpg program ?

0 Answers   IBM,


Difference between creating a report using Printer file and WRKQRY(Query Report) ?

3 Answers  


What will happen if we r using seton lr after return or vice versa.

5 Answers  


I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)

3 Answers   Opus,






What are the types of identifiers?

0 Answers  


how do I do concatenation in rpg iv, like I do in cl?

1 Answers   IBM,


1.How to load Records of a Physical file(PF) in the reverse order, in CL program?

2 Answers   Cap Gemini,


Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2

2 Answers  


Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?

1 Answers  


I have two sessions S1 & S2 under this 3 jobs(say j1,j2,j3 under session S1) And 2 jobs(Say j4, j5 Under session S2)is running. How many QTEMP & how many LDA will create for the same.

9 Answers   IBM,


what is the difference between SETON RT & RETURN?

5 Answers  


Categories