i have 1000 records in pf.what are all the ways to read a
particular name records in rpg?? ie.. in pf i have a name
called demo appeared around 52 times hw will we read this
particular records in rpg/400?.
Answer Posted / sudhir
to escape from creating a new object of LF(if its not a
permanent requirement) you can use OPNQRYF to select
whichever records you want like:
OPNQRYF FILE((FILENAME)) QRYSLT('(FIELDNAME *EQ "demo")')
hope you got your answer
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
what is *place and *auto keyword in prtf ?plz explain
Explain mdt?
What is difference between bind by copy and bind by reference?
how does the rpg element work?
What is a record lock error?
How to write record if no field or the field are different in physical file in rpgle ?
can I touch the array during treatments?
What is the difference between iter and do?
How many program bind in one module....
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
what was the robotech rpg?
what is the procedure and explain about real time scenario.
What is ment by record level identifier?
is this a rpg channel?
How to call one program from another program in RPG? please help me with the code