what is code for reading member in rpgle when wehave
like extmbr(*all)
so we have 3 members in *all then i want to read first
record in 2member
Answer Posted / svankipu
Use OVRDBF & replace the member(MBR(*FIRST)) with second
member's name.
Now call the RPG pgm to read the second(2nd) member.
- OR -
If u r already in RPG pgm, use QCMDEXC for overriding the
member with 2nd mbr & continue.
- OR -
If it permits use EXTMBR(2nd mbr-name) instead of EXTMBR(*ALL)
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
what is a non-join logical file?
what is the sequence when using cursor?
when do you explicitly open files and close files in an rpg program?
WHAT IS AS/400 SYNORIO?
what is the purpose of ovrdta (override data) keyword?
How can we read file using curser? how to define a curser?
What is the as400 called now?
what are different types of substems?
define the purpose of the *cat function?
hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.
an access path may be in which sequence?
which type of object is used in db2/400?
how you will know whether you are in sfldrop or sflfold mode?
what is the difference between *like and *namvar ?
what are necessary keywords to code message subfile?