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 |
how to display all the members records in a physical file without using ovrdbf?
How can you determine the number of characters in a variable?
Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"
wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?
Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.
in which journalling which attributes are necessary??/
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
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
I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)
How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??
If I have a file with 5 record and that file has 2 Key field and I want to read the unique record of the file then how can we achieve it?