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

Difference between RESET and CLEAR

1 Answers   TCS,


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

0 Answers  


How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program

1 Answers   UST,


what is estimation? and what is the level identifier parameter in PF?

3 Answers   TCS,


What is the Record Address file. How can we use it in RPG program?

4 Answers  






How can you delete a record from a file in RPG without using DELETE oppcode?

2 Answers   UST,


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

1 Answers  


how can i retrieve the field name from display file at run time? Devendra Singh Tomar

3 Answers  


How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"

4 Answers  


use of PUTOVR,OVRDTA,KEEP keywords?

2 Answers   HCL,


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

1 Answers   IBM,


how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE

3 Answers   iGate,


Categories