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
under given circumstances, my cgi should link to another site. How to implement this?
how will you search an array?
Using %check we are checking monika in mona what is output? What is %SCAN?
how many levels are there in a physical file?
what is message file?
what are the important factors in error message subfile ?
why is as/400 called object oriented machine?
Difference between NOPASS & OMIT?
any one have give AS400 study material? pls pass it to gopalsai789@gmail.com
what if my system I runs with system value qccsid 65535?
WHAT IS AS/400 SYNORIO?
What is the draw back of Procedures? why we are going to Modules?
How do I remove a flag or check no. or name when a user opens too many sessions?
what is the maximum number of subroutines allowed in rpg?
How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz