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
define the purpose of the iter operation?
how to write *pssr ?
why is as/400 called object oriented machine?
what is the clp command to access a query/400?
What is RETURN CURSER LOCATION in subfile?
what keyword must be used with protect keyword ?
how can u check no of records in a file?
which are the figurative constants used in rpg?
what is rpg ?
define data structure?
what is *iso date format?
Apart from opening of a file do we have any other use of USROPN?
can you specify a display file to be used in the following modes input,output, or combined modes ?
what is a keyed physical file?
all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?