Suppose you have 3 members in a database file. How to read
records from all the members
Without using CL (OVRDBF) i.e. it should be handled
exclusively in an RPG program?
Answer Posted / sumit gupta
if you want to read a particular member/or all member
records in RPG program without OVRDBF in CL program. Then,
you can use EXTMBR keyword.
Declare a file in f specs and in keyword option write
1) EXTMBR(*ALL)
or
2) EXTMBR(MEMBER NAME)
Member Name must be in CAPS as if you dont put it in CAPS
then severity 30 error comes while compilation.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
how will you find a string using pdm?
how to write code for singlepage in sqlrpgle with update ?
when are the unique constraints executed?
what is xfoot opcode ?
what is externally described file ?
define the purpose of the iter operation?
What is dynslt?
What is the use of jdftval in as400?
how to read database records without locking them?
The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help... I m using RPG/ILERPG to download...
how many levels are there in a physical file?
what is the necessary keyword for non-join logical file?
when are the referential constraints executed?
what is the version of os/400 that we have?
what is a composite key?