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

I had ruestion in one of the interview.....
If 1 file has more than 1 member and i want to use the 2nd
member in the RPG pgm (in RPG400),how can I use this....
I know the possible answers i.e. useing API 'QCMDEXE' or
Before calling the pgm I can use OVRDBF for that member...

but I dont' want to use both the tips in above scenarion.

Does any body tell me how can i use this ....?

Answer Posted / samul

Sweta,

I think above scenario will clear what am trying to ask.
---------------------------
I have following scenario :-
a) One file says FILEA,has a three members
Members : Mem01 ,Mem02 ,Mem03
b) I want to use member Mem02 in my RPG400 program
(PGM01). (I have to use only RPG400 not RPGIV/RPGILE)

c) I don't want to use QCMDEXE,EXTMBR or OVRDBF in program
PGM01.

How can I do it....?

---------------------------

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is sflinz and sflrna?

1518


What are the types of data structure in as400?

1037


during input operation which indicator position is seton if there is a record lock?

1602


why is as/400 called object oriented machine?

1709


what are the different types of data areas?

1748


. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?

7955


what are the important factors in error message subfile ?

1020


what are indicators?

1060


How to avoid using indicators in ile ?

1283


In RPG How to read a records from a file without using read opcodes?

1527


Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?

2438


define the purpose of the *cat function?

1681


how can database records be read without lock ?

1959


how to get the cursor position?

1153


what is the purpose of ovrdta and ovrata keywords ?

1517