How can we search particular records from the database file
in RPG.
For example, there are
100 records in the file.i need to retrieve all the records
matching/equal to the particular 'NAME' field. How can we
do the above using SEARCH criteria other than using the IF
cond?
Answer Posted / prabhakar
This can be done using SETLL and READE
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
How to handle duplicate error handling in RPG?
what is the procedure and explain about real time scenario.
what is the rpg system?
What is the purpose of record level identifier?
How can we override a file during runtime in rpg?
what is *place and *auto keyword in prtf ?plz explain
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
how do I play {insert rpg system here}?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
When it is desirable to describe files Internally?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
What is the difference between copybooks and subprocedures in as400?
How to declare the pull button in AS/400..
how can I tell when to replace the array?