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
how many types of display are available on as/400 for user interaction?
which are the relational operators in rpg?
what is the difference between packed decimal and zoned decimal?
what are the basic features of seu?
what are different types of substems?
what is the difference between *like and *namvar ?
http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?
why do we use readc? What is sflnxtchg?
how many printer files maximum can be used in single rpg program?
define the purpose of the *bcat function?
What is a query can be displayed without saving it?
what is the version of os/400 that we have?
What is diff between EVAL & MOVE?
which of the following operations does not zero the field flda defined as 4,0?
how to pick up the changed records every time in a subfile after the first change made ?