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 / samul
Sweta,
I think above scenario will clear what am trying to ask.
---------------------------
I have following scenario :-
a) One file says FILEA,has a three members
Members : Mem01 ,Mem02 ,Mem03
b) I want to use member Mem02 in my RPG400 program
(PGM01). (I have to use only RPG400 not RPGIV/RPGILE)
c) I don't want to use QCMDEXE,EXTMBR or OVRDBF in program
PGM01.
How can I do it....?
---------------------------
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how can a cgi check whether an ifs object is available?
writing an sql statement from selecting records from two files using single statement and nested select statement.
which are the query selection criteria, which can be given in a query?
How to reverse the string in rpg
what is message file?
how many levels are there in a physical file?
how can u check no of records in a file?
what does the opcode free do?
what keyword must be used with protect keyword ?
what are members?
what is a logical file?
what is the clp command to access a query/400?
list some of the commonly used commands for debugging?
what are the basic features of seu?
is it possible to create a physical file without dds?