How to read alternative records in a pf by using rpg?
Answer Posted / mahalakshmi
All the records in a file is first loaded in to an datastructure and then incrementing the value of datastructure +2 then read the values in the datastructure.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
When it is desirable to describe files Internally?
how do I play {insert rpg system here}?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
what is the rpg system?
How to write record if no field or the field are different in physical file in rpgle ?
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?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
what is *place and *auto keyword in prtf ?plz explain
what are the key words you must use when using a subfile?
How would display prime numbers using CL program?
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.
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
How to call one program from another program in RPG? please help me with the code
What is file identifier where we can use?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?