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 / swetha p rao

If we can use SQLRPGLE we can ccreate alias on the member.


I am not sure of other ways other than extmbr, Ovrdbf in
RPG400.may be you can tell me of there any other ways

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can we define multi-dimensional arrays in rpg ?

935


what does the ovrdbf command do?

669


how to develop some simple graphs (bar charts) using just html?

671


how can u check no of records in a file?

682


define a output queue?

941






what does defn do?

616


what is a keyed physical file?

1005


where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?

1120


What is file information data structure(infds) in as400?

973


What is the difference between physical file and logical file?

597


What Is The Object Type Of Pf, Lf, Printer File & Display File?

705


is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?

595


what does check opcode do ?

1069


How do I remove a flag or check no. or name when a user opens too many sessions?

1773


can you specify a display file to be used in the following modes input,output, or combined modes ?

943