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


Please Help Members By Posting Answers For Below Questions

what are all the contents of subfile?

991


what are the uses of factor1, factor2 and result field for the rpg operation code parm?

586


what is procedure prototype and procedure interface.

621


how many files, printer files you can describe in a rpg?

632


What is the default access path of a file?

589






can you display a empty subfile?

791


which are the relational operators in rpg?

677


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?

709


Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?

613


how do you use commitment control in rpg program ?

1281


why do we use readc? What is sflnxtchg?

670


what is the purpose of data structure?

1009


can error messages as a result of a comp, range or values keyword be overridden?

1139


what is xfoot opcode ?

1056


Using %check we are checking monika in mona what is output? What is %SCAN?

989