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 / suresh kumar

1)create a logical file on the P.F while creating mentioned
the DataMember name in the crtpf 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 ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference Between Source Physical File & Physical File?

1085


What are the types of data structure in as400?

1037


how can you execute a command from within an rpg program without calling a clp program?

2017


can a join logical file be updated?

1025


what is the difference between normal upddta to pf and updating using dfu program?

1346


what does check opcode do ?

1874


define the purpose of the iter operation?

1853


How to reverse the string in rpg

1814


Can level check error occur if we do chgpf?

1255


how to toggle between single line and multi - line display of a particular record in a subfile?

1802


How can we read file using curser? how to define a curser?

1313


what is the clp command to access a query/400?

2144


any one have give AS400 study material? pls pass it to gopalsai789@gmail.com

1717


maximum number of subfiles that can be active for a single file is?

1703


define the purpose of the %sst function?

1657