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
what is sflinz and sflrna?
What are the types of data structure in as400?
during input operation which indicator position is seton if there is a record lock?
why is as/400 called object oriented machine?
what are the different types of data areas?
. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?
what are the important factors in error message subfile ?
what are indicators?
How to avoid using indicators in ile ?
In RPG How to read a records from a file without using read opcodes?
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
define the purpose of the *cat function?
how can database records be read without lock ?
how to get the cursor position?
what is the purpose of ovrdta and ovrata keywords ?