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 RETURN CURSER LOCATION in subfile?
How can we change the uppercase to Lowercase in RPG?
what is logical file?
what are the different types of data areas?
How to reverse a string using RPG?
What is the use of jdftval in as400?
define subsystem?
what is a non-join logical file?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
what is a logical file?
What is file access opcodes?
when are the referential constraints executed?
how can a message from a message file appear as a constant on the screen?
how can I predict the performance of my cgis?
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?