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
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 |
Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?
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,
What is the purpose of PUTOVR keyword?
wat is meant by hidden field , why it is used?
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
How do I link an existing logical file to it's Physical File without recompiling?
what is file identifier wher we can use
1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?
What are the necessary keywords required to code a message subfile?
how can we can we the data decimal error?how can we open such file in support
how can you display specific subfile page on the screen in unequal subfile?
are there any useful c runtime apis that I can call from rpg iv?