Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execut..

Answer / bharat

Yes it will but if with Primary file with RPG cycle, it
will not execute for all records.

Is This Answer Correct ?    8 Yes 0 No

I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execut..

Answer / 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

I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execut..

Answer / swadesh.yadav

Definitely,program will execute and display the result also
but it can destroy the flow of program.

Is This Answer Correct ?    8 Yes 4 No

I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execut..

Answer / manish

SETON LR is used to sense that last record has been
reached, so whenever SETON LR occurs all the files will be
closed and the control will be transferred to the next
executable lines...

Is This Answer Correct ?    3 Yes 6 No

I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execut..

Answer / vinit soni

yes,It will execute.access path will be created again.

Is This Answer Correct ?    3 Yes 8 No

I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execut..

Answer / 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

More RPG400 Interview Questions

Can AnyOne tell me how to read join logical file in rpg from starting to end?

2 Answers  


i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program

6 Answers  


What is journalling and commitment control?

3 Answers   IBM,


Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4

4 Answers  


Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?

1 Answers  


A rpg or clp command to find if the file field is defined as a character or numeric field.

1 Answers   IBM,


i have 1000 records in pf.what are all the ways to read a particular name records in rpg?? ie.. in pf i have a name called demo appeared around 52 times hw will we read this particular records in rpg/400?.

11 Answers   IBM,


1.WHAT IS WRONG WITH THE CODE BELOW? C CUSTNO CHAIN CUSTMAST IF %ERROR can any body find the wrong please? 2.What builtin function will you use to achieve the following functionality? C QTY IFLT *ZERO C QTY MULT-1 QTY ENDIF

5 Answers   CTS,


Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?

7 Answers  


if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.

10 Answers   Four soft,


1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?

12 Answers   IBM, Opus,


Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?

1 Answers   Infogain,


Categories