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 |
Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?
What is the name of default out queue when user logs inn to syatem with valid profile?
How can we know running job is batch or interactive?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
Can we have a Physical file without any member ? Please let me know
3 members in databasefile .how to read records from all the members??
Write a program to display prime numbers between 1 to 100 using RPGLE.
Interviewer asked me write down DDS for load all subfile .can anybody write dds
Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?
There is a excel sheet having details of Old account number and new account number. I need to update these details in my AS400 files. i.e. all the records having old account number should be replaced with new account number. There can be 100 or 200 or 300 PFs...no fix files known. how can we do this?Solution should be performance oriented
which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?
HI,1: What is the function of 'SETON LR' AND '*INLR=*ON ? 2:Can we used "seton lr" OR "*INLR = *ON" in between the program code ? 3:if yes then according to there function the code which is written acter seton lr/ *inlr should not be execute . Can any one tell me why those code get executed ?