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

can a single screen format occupy a screen area above and below a subfile format ?

1016


what does the opcode free do?

1114


how will you display a particular page in subfile ?

1042


what are the uses of factor1, factor2 and result field for the rpg operation code parm?

578


how do you specify page overflow indicator for printer files in rpg?

1456






what is message file?

594


difference between sflrcdnbr and sflnxtchg?

694


can error messages as a result of a comp, range or values keyword be overridden?

1116


What is diff between EVAL & MOVE?

968


In 'o' Specs What Is The Opcode For Write?

694


which cl command can be used at program execution to redirect the file named in an rpg program?

699


Write a logic program for knowing the repeated number of a vowels in a given program?

3305


what is rpg ?

928


what are the different types of arrays available in rpg ?

955


what are indicators?

634