How to update selected fields from pf without using update
opcode.
How to read all member in Rpg-3,without using any cl command?
Answer Posted / sivakumar y
Hello Friends, Question asked by vinit is how to read all
members in RPG3, but not in RPGLE.
I think the answer for this question is:
1)Need to declare the rquired file in USROPN mode in RPG.
FFILE1 UF E K DISK Usropn
2)Using QCMDEXC API execute the override command. The
value to be passed in first parameter is like below.
D Cmd1 C OVRDBF FILE(FILE1)
TOFILE(TOOLBOX/FILE1) MBR(*ALL)'
Regards
siva
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is the difference between copybooks and subprocedures in as400?
how do I play {insert rpg system here}?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
What is the difference between iter and do?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
How to call one program from another program in RPG? please help me with the code
what is the necessary keyword needed to scroll subfile records?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
what are the key words you must use when using a subfile?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
what is the rpg system?
How many program bind in one module....
how do I declare a table or array in rpg iv?
what is program status data structure?