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
what is the function of crtdupobj command?
how do you know that records are locked?
What Does 'sr' In Columns 7-8 Of C Specs Mean?
what is the use of sflend keyword?
what is a spool file?
WHAT IS FERERENTIAL INTRIGRITY ?
what is a logical file?
when do you use f-spec. Continuation line ?
what is the difference between normal upddta to pf and updating using dfu program?
What is file information data structure(infds) in as400?
what the purpose of ovrdta, ovrata keywords?
which of the cl command can be used to determine which logical files are dependent on a specific file?
how to pick up the changed records every time in a subfile after the first change made ?
what is overlay?
what is the purpose of dynslt keyword?