suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG
Answer Posted / vaibhav bhardwaj
Use MBRLIST at 'F' spec.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
is this a rpg channel?
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 to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
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?
How to call one program from another program in RPG? please help me with the code
how do I preserve and clean the array?
What is the difference between iter and do?
how can you display specific subfile page on the screen in unequal subfile?
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?
what is *place and *auto keyword in prtf ?plz explain
are there any useful c runtime apis that I can call from rpg iv?
can you debug ile rpg program using isdb?
What is ment by record level identifier?
what is the rpg system?
How to write record if no field or the field are different in physical file in rpgle ?