I have a RPG program of 100 Lines and first line is to
SETON indicator LR. Will the program execute rest of the 99
Lines?
Answer Posted / reecha
Seton LR will close all the file, the next line will be
definately executed but it will give error for any file
related execution
Is This Answer Correct ? | 3 Yes | 9 No |
Post New Answer View All Answers
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 are the types of identifiers?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
How Chain operation copies the record's data to the input buffer for the program?
How can we override a file during runtime in rpg?
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 the use of sflnxtchg?
what are the key words you must use when using a subfile?
can you debug ile rpg program using isdb?
how do I declare a table or array in rpg iv?
What is the difference between copybooks and subprocedures in as400?
How to write record if no field or the field are different in physical file in rpgle ?
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?
what is the difference between do while and do until?