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

what is code for reading member in rpgle when wehave
like extmbr(*all)
so we have 3 members in *all then i want to read first
record in 2member

Answer Posted / svankipu

Use OVRDBF & replace the member(MBR(*FIRST)) with second
member's name.

Now call the RPG pgm to read the second(2nd) member.
- OR -
If u r already in RPG pgm, use QCMDEXC for overriding the
member with 2nd mbr & continue.

- OR -
If it permits use EXTMBR(2nd mbr-name) instead of EXTMBR(*ALL)

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a non-join logical file?

1818


what is the sequence when using cursor?

1217


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

2055


WHAT IS AS/400 SYNORIO?

3356


what is the purpose of ovrdta (override data) keyword?

1813


How can we read file using curser? how to define a curser?

1309


What is the as400 called now?

982


what are different types of substems?

2250


define the purpose of the *cat function?

1672


hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.

2561


an access path may be in which sequence?

1154


which type of object is used in db2/400?

1048


how you will know whether you are in sfldrop or sflfold mode?

1051


what is the difference between *like and *namvar ?

2536


what are necessary keywords to code message subfile?

1751