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 does vldcmdkey means?
which are the figurative constants used in rpg?
1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?
how to write *pssr ?
what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.
What is diff between EVAL & MOVE?
what are dds required for subfile?
when should I use method get, and when should I use method post in my cgis?
define the purpose of the *bcat function?
In Which Specs Arrays, Tables & Constants Are Defined?
when are the unique constraints executed?
What is RETURN CURSER LOCATION in subfile?
what is subfile?
what is a join logical file?
What Is The Object Type Of Pf, Lf, Printer File & Display File?