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

what is a logical file?

1288


what is the function of cpysplf command?

1286


what does defn do?

802


how will you find a string using pdm?

901


How to reverse the string in rpg

1458


what are necessary keywords to code message subfile?

1317


explain the use of dftwrt display keyword?

1414


what is the sequence when using cursor?

813


how can you execute a command from within an rpg program without calling a clp program?

1531


when are the referential constraints executed?

837


when would you prefer logical file than opnqryf?

1804


How can we arrange duplicate records in a file?

790


how can u check no of records in a file?

868


what is the difference between udate and the system date?

1498


Can we debug the MSGW JOBS?

1094