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 / shruti tayal
IGNORE/INCLUDE keywords are specific to all the record
formats of the member under consideration...so if used it
would ignore/include that specific record format not file
member.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
what are all the contents of subfile?
what are the uses of factor1, factor2 and result field for the rpg operation code parm?
what is procedure prototype and procedure interface.
how many files, printer files you can describe in a rpg?
What is the default access path of a file?
can you display a empty subfile?
which are the relational operators in rpg?
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?
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?
how do you use commitment control in rpg program ?
why do we use readc? What is sflnxtchg?
what is the purpose of data structure?
can error messages as a result of a comp, range or values keyword be overridden?
what is xfoot opcode ?
Using %check we are checking monika in mona what is output? What is %SCAN?