can anybody explain significance of *loval setll with example code????
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Difference between RESET and CLEAR
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
How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program
what is estimation? and what is the level identifier parameter in PF?
What is the Record Address file. How can we use it in RPG program?
How can you delete a record from a file in RPG without using DELETE oppcode?
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?
how can i retrieve the field name from display file at run time? Devendra Singh Tomar
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"
use of PUTOVR,OVRDTA,KEEP keywords?
A rpg or clp command to find if the file field is defined as a character or numeric field.
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