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 / swetha p rao
Using Extmbr key word in F Spec you can access the members
of file in RPG4.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
which of the cl command can be used to determine which logical files are dependent on a specific file?
explain the difference between defining subfile and message-subfile?
define data structure?
In 'o' Specs What Is The Opcode For Write?
what is the maximum number of fields under a record format of physical file?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.
what is a primary file?
what is the purpose of indicators in rpg?
difference between sflrcdnbr and sflnxtchg?
what is the use of unique keyword and what level it is defined?
which are the relational operators in rpg?
what if my system I runs with system value qccsid 65535?
what is the necessary keyword for non-join logical file?
what is the difference between sflclr and sflinz?
what is service program?