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?

Answers were Sorted based on User's Feedback



1.I Have a physical file , i want to read the data from the each and every member of the File in t..

Answer / 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

1.I Have a physical file , i want to read the data from the each and every member of the File in t..

Answer / gagan44

Using DSPFD we get all the memebers in an outfile .Then use the command OVRDBF to override each member in outfile

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. But from last 5 -10 minutes this job is still in running status....What are the possible reasons...and What are the actions i need to perform to check this...?

4 Answers  


How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?

11 Answers   Bank Of America, CSC, IBM,


without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?

3 Answers   HSBC, TCS,


3 members in databasefile .how to read records from all the members??

6 Answers   CTS,


Write a program to display prime numbers between 1 to 100 using RPGLE.

1 Answers  






What is the difference between RPG/400 and RPG4

1 Answers   HCL,


steps for debugging two rpg programs????

4 Answers  


HOW TO DELETE THE RECORD FROM MASTER FILE WHICH IS LINK BY ANOTHER TRASATION FILE WITH REFERTIAL INTYGRITY?

1 Answers   TCS,


Suppose in CL we reach at end of file and again we have to reach from 1 record

3 Answers   TCS,


What is I90(Insure 90)?

1 Answers  


When it is desirable to describe files Internally?

0 Answers  


how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .

2 Answers  


Categories