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

In F Spec use Keyword EXTMBR(Second member name)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1480


what is sflinz and sflrna?

1018


how to run other job when one job is active?

605


what is a logical file?

1047


define the rcvf command?

1000






define a output queue?

945


what is the use of dspatr(mdt) keyword?

1455


what is the purpose of overrides?

1028


what is overlay?

687


what are the different types of variables available in cl?

1013


How can we change the uppercase to Lowercase in RPG?

933


Difference Between Ca & Cf?

708


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

1209


what is the purpose of ovrdta and ovrata keywords ?

892


what is *iso date format?

628