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 |
what are the key words you must use when using a subfile?
Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?
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
What would be the effect on the field where reverse image, underline and high intensity?
how do you use commitment control in rpg?
Can we create 300 logical files based on a single physical file using the CRTLF command only once?.
What is Multi Occurrence Data Structure(MODS)?
Why did we give STRSRVJOB while debugging batch program
Can we possible to key with the date field?
RPG/400 faqs?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file