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


Please Help Members By Posting Answers For Below Questions

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

737


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1895


How can we know running job is batch or interactive?

656


how can I tell when to replace the array?

702


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1462






are there any useful c runtime apis that I can call from rpg iv?

700


How to declare the pull button in AS/400..

1880


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1019


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.

2051


what is the difference between do while and do until?

703


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

831


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1561


what is the use of sflnxtchg?

803


What is the difference between copybooks and subprocedures in as400?

808


what do you mean by an input subfile, what are the keywords required?

773