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?
Answers were Sorted based on User's Feedback
Answer / swetha p rao
%Equal should be used with Setll .%Equal says whether the
argument is present or not.
Klist1 SetLL File1
If %Equal
/* Argument Found
else
/* Not found
EndIf
Is This Answer Correct ? | 27 Yes | 4 No |
Answer / 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 |
Answer / guest
%Found built in function is used with SETLL.%found turned
to be on when a record find in the file.
Is This Answer Correct ? | 11 Yes | 17 No |
wat is the difference between array and multiple occurence data structure?
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.
why we do STRSRVJOB in batch debugging in as400
I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?
How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?
Difference between creating a report using Printer file and WRKQRY(Query Report) ?
1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.
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.
How to create a key field for a logical file inside RPG?
Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?
How can i keyed a flat file in RPGLE
if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.