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 / sweta
What is the scenario exactly , You want to access all the
members of the file one by one and you donno the names of
the memebers
or
You want to access only second member and you donno the
name of the member
If you want to use only second number then define a
variable and initialise it with second member name.and in F
spec define the extmbr.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Difference Between Skip Before & Space Before?
what is service program?
how do you pass parameters in cl?
define the rcvf command?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
how to read database records without locking them?
what is a physical file?
is there any way I can ease my rpg controls on numeric input fields? How about an input date field?
what is the sequence when using cursor?
What Is The Error If We Don't Get Login Screen?
What is the difference between physical file and logical file?
what is the necessary keyword for non-join logical file?
how do you specify the number of records to roll in a subfile ?
define what a data area is along with a brief example of what it may be used for?
Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out