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 / srinath
In F Spec use Keyword EXTMBR(Second member name)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
explain the difference between defining subfile and message-subfile?
what are the important factors in error message subfile ?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
when are the unique constraints executed?
What is dynslt?
an access path may be in which sequence?
what is the command to know key fields of file?
What is access path in as400?
How to Define a Procedure in RPG?
Difference Between Call & Sbmjob?
when would you use or not use this approach?
how to toggle between single line and multi - line display of a particular record in a subfile?
what is cab?
how can database records be read without lock ?
How to avoid using indicators in ile ?