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

To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?

1227


how does the runqry show the output?

1425


what is a spool file?

1142


what is the use of jdftval in join logical file?

1815


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

2444


What is %CHECK?

1280


What Does 'sr' In Columns 7-8 Of C Specs Mean?

1754


define the purpose of the iter operation?

1866


which are the relational operators in rpg?

1138


WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?

2534


is there any way I can ease my rpg controls on numeric input fields? How about an input date field?

1126


How can we change the uppercase to Lowercase in RPG?

1438


define the purpose of the *bcat function?

1564


what is the maximum number of record formats in dspf?

1693


Explain The Keywords Edtcde & Edtwrd?

1408