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 is batch debug in as400?
In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?
1) How to retrieve RRN through RPG ? 2) How to pass parameter by value ? 3) How to trap the error through the RPG/400
10 Answers IBM, Tech Mahindra,
1.The questions have given an array declaration and move operation then this statement is correct or not?
What is difference between bind by copy and bind by reference?
Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfile , from third page i have selected a record and called some other program .on returning, subfile is being loaded from the frist page. so can any one kindly suggest me in retaining my third page after returning. i.e loading from third page.
I have two sessions S1 & S2 under this 3 jobs(say j1,j2,j3 under session S1) And 2 jobs(Say j4, j5 Under session S2)is running. How many QTEMP & how many LDA will create for the same.
what is meant by record lock.how records are locked.what is the purpose of record lock.if records are locked what happens.how to find out which record is locked.
can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?
how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .
How to find d key field of a pf that doesn’t have source physical file?
What is journalling and commitment control?