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

Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

2244


what is the difference between packed decimal and zoned decimal?

3337


how do you specify page overflow indicator for printer files in rpg?

2363


when should I use method get, and when should I use method post in my cgis?

1178


Difference Between Source Physical File & Physical File?

1132


what is rpg fixed logic cycle?

1267


what is the use of unique keyword and what level it is defined?

1661


What Is The Purpose Of The "n" In The Following Calculation Specification?

1191


if we tried to move year part of *iso date into a field of length 3, what will happen ?

1374


In 'o' Specs What Is The Opcode For Write?

1265


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

1621


What is a query can be displayed without saving it?

1137


what is the use of sflend keyword?

1931


what opcode will be used to test the zone of a character field?

1837


what are the different commands used in rlu ?

2488