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

Suppose you have 3 members in a database file. How to read
records from all the members
Without using CL (OVRDBF) i.e. it should be handled
exclusively in an RPG program?

Answer Posted / sumit gupta

if you want to read a particular member/or all member
records in RPG program without OVRDBF in CL program. Then,
you can use EXTMBR keyword.

Declare a file in f specs and in keyword option write
1) EXTMBR(*ALL)
or
2) EXTMBR(MEMBER NAME)

Member Name must be in CAPS as if you dont put it in CAPS
then severity 30 error comes while compilation.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can a indexed file be accessed in arrival sequence in rpg program?

1717


an access path may be in which sequence?

1196


how can you check for a records existence without causing and i/o (chain/read)?

2151


which type of object is used in db2/400?

1100


how will you display a particular page in subfile ?

1754


Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?

2639


how can you detect and handle a record lock situation?

2059


what is a logical file?

1912


what are various techniques to pass parameters from one program to another?

1933


can a join logical file be updated?

1083


what is the difference between seton lr and retrn?

2115


some special characters I key in my html source members show different on my web pages. Why? How can I solve this?

1131


can you specify a display file to be used in the following modes input,output, or combined modes ?

1621


when do you use f-spec. Continuation line ?

1801


What Is The Error If We Don't Get Login Screen?

1096