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

Small correction
1)create a logical file on the P.F.,while creating mention
the DataMember name in the CRTLF command and use this
logical if u are not able to use ovrdbf in cl, Extmber in
RPG400/RPGIV and QCMDEXEC in RPG/RPGLE to Execute in OVRDBF.

ex: CRTLF FILE(FILEA) DTAMBRS((FILEA (MEM02)))

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to define to define a hidden filed in dspf ?

1333


which type of object is used in db2/400?

1047


the maximum number of subfiles that can be active for a single file is ____ .

1854


Difference Between Source Physical File & Physical File?

1072


what is full form for dds?

1198


which cl command can be used at program execution to redirect the file named in an rpg program?

1195


define what a data queue is along with a brief example of what it may be used for?

1804


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

2276


How to reverse a string using RPG?

1486


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

1134


what is the maximum number of parameters allowed in rpg?

1736


What is difference between rename and prefix?

1034


how can u check no of records in a file?

1136


Difference Between Interactive & Batch Job?

1232


in which specification the report layout can be defined?

1622