1.I Have a physical file , i want to read the data from the
each and every member of the File in the CL Program.How do
you achieve this.
2.How do you do the same in RPG?. do think is it possible to
read data from all the members in the RPG?

Answer Posted / sivaprasad

in CL

by OVRDBF we can load the data from all members in file.

OVRDBF FILE(INPUT) TOFILE(PAYROLL) MBR(*all)

in RPG

by EXTMBR(*all) can load the data from all members in file

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the rpg system?

905


How would display prime numbers using CL program?

5936


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

937


what is program status data structure?

1769


is this a rpg channel?

880


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

823


what is the use of sflnxtchg?

1011


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2386


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3547


How many program bind in one module....

2339


what is a rpg?

901


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

720


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

927


what is data area and how it is used in rpg program ?

994


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

2072