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
what are the basic features of seu?
what are the two record formats a subfile contain ?
what keyword must be used with protect keyword ?
how many types of display are available on as/400 for user interaction?
when do you use f-spec. Continuation line ?
how can you detect and handle a record lock situation?
What Is The Purpose Of The "n" In The Following Calculation Specification?
can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com
what is the use of dspatr(mdt) keyword?
what is message subfile?
What Is Ddm ?
how can you detect overflow for a print program that prints multiple lines per cycle?
what would be the effect on the field where reverse image, underline and highlight display attributes are active ?
what are the various types of device files?
what is the maximum number of record formats in dspf?