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

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

1115


What is a query can be displayed without saving it?

1083


What are the record format field mapping options in cpyf?

1018


what does opcode post do ?

1756


what are the different opcodes available in rpg for database access ?

1693


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

1775


how does the runqry show the output?

1411


how to develop some simple graphs (bar charts) using just html?

1054


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


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

2079


how can u check no of records in a file?

1135


I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

2732


what is elastic and non elastic subrile?

1003


How to Define a Procedure in RPG?

1723


how to write code for singlepage in sqlrpgle with update ?

2817