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...


can anybody explain significance of *loval setll with example code????

Answers were Sorted based on User's Feedback



can anybody explain significance of *loval setll with example code????..

Answer / praveen sankhare

*LOVAL SETLL is used to set the pointer at the starting of
the record(i.e 1st record.)

For eg. Keyed records in file are 2,3,5,7,8...
Factor 1 opcode factor2 HI LO EQ
*loval SETLL REC 99 98

*loval setll will set the poniter to 2.

Is This Answer Correct ?    18 Yes 0 No

can anybody explain significance of *loval setll with example code????..

Answer / sree

It will set the pointer top level and it will read first
record from the data base file or device file.
ex:
FEMP IF E K DISK
*LOVAL SETLL EMP
ID DSPLY
NAME DSPLY
SETON LR

Is This Answer Correct ?    6 Yes 0 No

can anybody explain significance of *loval setll with example code????..

Answer / sree

It will set the pointer top level and it will read first
record from the data base file or device file.
ex:
FEMP IF E K DISK
*LOVAL SETLL EMP
ID DSPLY
NAME DSPLY
SETON LR

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis

1 Answers  


what r drawbacks of OPM? Why do we go for ILE RPG?

1 Answers  


i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?

1 Answers   IBM,


what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?

4 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 difference between bind by copy and bind by reference?

0 Answers  


Can an indexed file be accessed in arrival sequence in RPG?

3 Answers  


what is batch debug in as400?

3 Answers  


Explain mdt?

0 Answers  


What are the commands that can be executed in CLP but not in RPG? Why?

1 Answers   CSC,


please guys help me,I need to write a program that shows more than one way to display a subfile. Both views are of the same file but sorted differently and show different fields of the same file when the user presses a function key. send me code

4 Answers   Virtusa,


how can I tell when to replace the array?

0 Answers   IBM,


Categories