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

Answers were Sorted based on User's Feedback



what is code for reading member in rpgle when wehave like extmbr(*all) so we have 3 members i..

Answer / 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

what is code for reading member in rpgle when wehave like extmbr(*all) so we have 3 members i..

Answer / adhar246

First do *HIVAL SSETGT on the file. It will set the pointer after the last record of first member. than do simple read operation. it will start reading from first record of second member.

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More IBM AS400 AllOther Interview Questions

Can anybody know difference between SNDUSRMSG AND SNDPGMMSG IN CL PROGRAMMING? IF DON'T KNOW MAIL ME @ gkarthik.as400@gmail.com

3 Answers  


What are the mandatory keywords of sub file?

0 Answers   IBM,


What is the draw back of Procedures? why we are going to Modules?

0 Answers  


How do you grant authority?

1 Answers  


Apart from opening of a file do we have any other use of USROPN?

0 Answers  


what is primarykey?what is difference between primary key and forign key?

1 Answers  


can a single screen format occupy a screen area above and below a subfile format ?

1 Answers   IBM,


What is the purpose of USROPN keyword?

1 Answers   CTS,


What is primary file? How many primary file can be declared in a RPG program?

3 Answers   IBM, Valtech,


what is a non-join logical file?

1 Answers   IBM,


How do I remove a flag or check no. or name when a user opens too many sessions?

0 Answers  


what is the function of crtdupobj command?

1 Answers   IBM,


Categories