Q. HOw can read multimember file through RPG/400 and CL/400
Actully i know that we can Read multimember file in RPG
through EXEFILE and EXEMBR and in cl through OVRDBF and
MEMBER(3)....But i want to read 3 members by CL Program And
RPG/400 program.Please write the coding(Program) for both
RPG/400 and CL/400 programs?
2.What are the full forms(stands) of EXEFILE and EXEMBR?

Answer Posted / gagan

in Cl using command DSPFD get the list of all the members of a PF in a outfile .
Then read that outfile in loop.it will read all the members in loop

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)

1718


how can you check for a records existence without causing and i/o (chain/read)?

1289


how can database records be read without lock ?

1212


if we tried to move year part of *iso date into a field of length 3, what will happen ?

652


What is the difference between physical file and logical file?

586






How to add 99 menu (page down) option in menu creation..

1921


How can we update a specific field in RPG?

925


What is the draw back of Procedures? why we are going to Modules?

1228


What Is Ddm ?

1030


define the purpose/use for sflrna?

1003


define subsystem?

1025


why do we use readc? What is sflnxtchg?

663


how to read database records without locking them?

1128


what does defn do?

611


under given circumstances, my cgi should link to another site. How to implement this?

574