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

when do you explicitly open files and close files in an rpg program?

2053


What is a query can be displayed without saving it?

1085


What is program status data structure(psds) in as400?

1078


when would you use or not use this approach?

1539


what the purpose of ovrdta, ovrata keywords?

1951


what is a keyed physical file?

1811


how to get the cursor position?

1139


what is rpg ?

1641


where can you specify an indicator in lokup operation?

1807


how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

1607


What are the different opcodes used for file operation on a subfile in a rpg pgm?

1826


how many types of display are available on as/400 for user interaction?

1115


how many files, printer files you can describe in a rpg?

1138


What is access path in as400?

1343


difference between view and index ?

1141