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 / ankush chaudhary
Hi Paul,
In order to ignore say first member of a file and use the
2nd member we can use IGNORE and INCLUDE keywords on the F
specs.
IGNORE is used in case we do not want to use a particular
member of a file.
INCLUDE helps in using a particular record format for the
file.
Hope this clarify your doubt.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
how may a cgi control duplicate inputs?
if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?
what are the different types of variables available in cl?
what are dds required for subfile?
If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?
What is binder language ?
what are the different commands used in rlu ?
how do u compile rpgle program?
Can we debug the MSGW JOBS?
In RPG How to read a records from a file without using read opcodes?
What Does Lokup Does In Tables & Arrays?
what is a primary file?
What is array in as400? What are the types of array?
in conjunction with which statements can orxx and andxx conditions be used ?
what are the two record formats a subfile contain ?