what built in function can be used with SETLL.If you want
to check whether the search argument is successful or not?
Please give me answer with example?
Answer Posted / syam
SETLL to set pionter to a record
To set pointer to Starting of the file use
C *LOVAL SETLL Recordname
To set pointer to End of the file use
C *HIVAL SETLL Recordname
To set pointer to a particular record of the file use
C Move currentYEAR YEAR(2008)
C YEAR SETLL Recordname
Is This Answer Correct ? | 3 Yes | 8 No |
Post New Answer View All Answers
How Chain operation copies the record's data to the input buffer for the program?
How many program bind in one module....
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
When it is desirable to describe files Internally?
how can you display specific subfile page on the screen in unequal subfile?
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?
what is data area and how it is used in rpg program ?
how does the rpg element work?
What is difference between bind by copy and bind by reference?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
What is the difference between copybooks and subprocedures in as400?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
can I touch the array during treatments?
what is a rpg?