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 do you use exceptional write in c specs?
What Does 'sr' In Columns 7-8 Of C Specs Mean?
What is the difference between physical file and logical file?
define the purpose of the *bcat function?
how can you detect and handle a record lock situation?
what opcode could be used to test an alphanumeric field for all numeric values?
what are the different types of arrays available in rpg ?
what are different types of substems?
How to convert a spool file to PDF file in AS400?
how may a cgi control duplicate inputs?
can we use ASCII ,CDUP,SENDPASV commands in SFTP?
is there any way to dynamically merge other html scripts into a given html?
an access path may be in which sequence?
what is the use of unique keyword and what level it is defined?
define the purpose/use for sflrna?