How do I read records from Subfile? what is the purpose of
READC explain with example?
Answer Posted / tprabhakarreddy
Q1. Using EXFMT opcode or Read
Q2. READC is used for reading all changed records in subfile
Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
which program rpg or cl is efficent to update a transaction onto a database file and why ?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
What is the difference between copybooks and subprocedures in as400?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
What is ment by record level identifier?
are there any useful c runtime apis that I can call from rpg iv?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
How would display prime numbers using CL program?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is data area and how it is used in rpg program ?
what do you mean by an input subfile, what are the keywords required?
What is the purpose of record level identifier?