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 many types of display are available on as/400 for user interaction?
what is rpg ?
In AS/400 projects in Companies whats the meaning of production support team.what production support involves.also what work does development,maintenance involve what are the other teams or processes that are available for as400 project.
Write a logic program for knowing the repeated number of a vowels in a given program?
how to validate input values in display file ?
what is the sequence when using cursor?
how can I start a page in a new window?
What Does Lokup Does In Tables & Arrays?
which are the figurative constants used in rpg?
what is the use of unique keyword and what level it is defined?
how can you detect overflow for a print program that prints multiple lines per cycle?
Difference Between Interactive & Batch Job?
what is the maximum number of subroutines allowed in rpg?
give three main purposes of file specification ?
an access path may be in which sequence?