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


Please Help Members By Posting Answers For Below Questions

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?

611


What are the types of identifiers?

566


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2367


How Chain operation copies the record's data to the input buffer for the program?

1076


How can we override a file during runtime in rpg?

680






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?

511


what is the use of sflnxtchg?

797


what are the key words you must use when using a subfile?

686


can you debug ile rpg program using isdb?

732


how do I declare a table or array in rpg iv?

732


What is the difference between copybooks and subprocedures in as400?

801


How to write record if no field or the field are different in physical file in rpgle ?

483


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.

2045


How would display prime numbers using CL program?

5672


what is the difference between do while and do until?

699