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 message subfile?
how to get the cursor position?
how can you check for a records existence without causing and i/o (chain/read)?
What are the types of data structure in as400?
how can you specify no duplicate key?
what are the different types of variables available in cl?
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
how do you use exceptional write in c specs?
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?
what would be the effect on the field where reverse image, underline and highlight display attributes were active?
what are the three line types in rlu ?
why do we use readc? What is sflnxtchg?
WHAT IS FERERENTIAL INTRIGRITY ?
when are the unique constraints executed?
What is file information data structure(infds) in as400?