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...

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


Please Help Members By Posting Answers For Below Questions

How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1972


How to handle duplicate error handling in RPG?

2247


what is the procedure and explain about real time scenario.

1912


what is the rpg system?

1238


What is the purpose of record level identifier?

1093


How can we override a file during runtime in rpg?

1167


what is *place and *auto keyword in prtf ?plz explain

3115


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?

911


how do I play {insert rpg system here}?

1002


which program rpg or cl is efficent to update a transaction onto a database file and why ?

1215


When it is desirable to describe files Internally?

1672


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.

1179


What is the difference between copybooks and subprocedures in as400?

1322


How to declare the pull button in AS/400..

2312


how can I tell when to replace the array?

1169