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 |
wat is curser?? and its types???
How can you determine the number of characters in a variable?
how to display all the members records in a physical file without using ovrdbf?
How can we know running job is batch or interactive?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
How do you do indexing in a physical file?
How would display prime numbers using CL program?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir
Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?
What is the purpose of PUTOVR keyword?