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 |
steps for debugging two rpg programs????
wat is the difference between dataarea and data queue?
5 Answers Airtel, Four soft, Shahi Exports,
CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?
How to set on/off a group of indicators in a single statement?
i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?
In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening
Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4
How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?
can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
how do u find whether a record is locked or not??
what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?