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 / biju antony
LR not stand for terminating program. So, it will execute
rest of the program codes. Of course, it won't give you
proper answers if it related to files or indicators. LR
will close all files opened in program as well as switch
off all indicators used so far.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
can I touch the array during treatments?
how do you use commitment control in rpg?
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.
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 a record lock error?
how can you display specific subfile page on the screen in unequal subfile?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
How can we know running job is batch or interactive?
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
how does the rpg element work?
What is the purpose of record level identifier?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
How to call one program from another program in RPG? please help me with the code