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

What is the scenario exactly , You want to access all the
members of the file one by one and you donno the names of
the memebers


or

You want to access only second member and you donno the
name of the member
If you want to use only second number then define a
variable and initialise it with second member name.and in F
spec define the extmbr.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the basic features of seu?

1276


what are the two record formats a subfile contain ?

2010


what keyword must be used with protect keyword ?

1827


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

1160


when do you use f-spec. Continuation line ?

1809


how can you detect and handle a record lock situation?

2065


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

1193


can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com

2777


what is the use of dspatr(mdt) keyword?

2331


what is message subfile?

1810


What Is Ddm ?

1773


how can you detect overflow for a print program that prints multiple lines per cycle?

1809


what would be the effect on the field where reverse image, underline and highlight display attributes are active ?

1794


what are the various types of device files?

1746


what is the maximum number of record formats in dspf?

1736