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 |
To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / member lock. I confused with the Lock type and Status values...Can any body please tell me ...
Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?
how do I play {insert rpg system here}?
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?
The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?
1..Write an sql query to find the employee name who is having 2 phone numebr? 2.Write an sql query to the the second highest salary of the employee?
Can any body give the code for this quesition? Using the following details write C-Spec code to set Name to"AMMU LABS SYSTEM" D NAME1 S 10 INZ('AMMU') D NAME2 S 10 INZ('LABS') D NAME3 S 10 INZ('SYSTEM') D NAME S 20
RPG/400 faqs?
WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command IN cl (as/400)?
1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?
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??