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 is the use of unique keyword and what level it is defined?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.
what are necessary keywords to code message subfile?
In Which Specs Arrays, Tables & Constants Are Defined?
how to validate input values in display file ?
if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?
how can you detect and handle a record lock situation?
what are the different methods to access seu?
define the rcvf command?
what are all the contents of subfile?
what is rpg ?
What is the draw back of Procedures? why we are going to Modules?
how to pick up the changed records every time in a subfile after the first change made ?
what are members?
what is a program described file in rpg?