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



what built in function can be used with SETLL.If you want to check whether the search argument is ..

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

what built in function can be used with SETLL.If you want to check whether the search argument is ..

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

what built in function can be used with SETLL.If you want to check whether the search argument is ..

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

Post New Answer

More RPG400 Interview Questions

wat is the difference between array and multiple occurence data structure?

4 Answers   Four soft,


1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.

2 Answers  


why we do STRSRVJOB in batch debugging in as400

1 Answers  


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?

6 Answers  


How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?

8 Answers  






Difference between creating a report using Printer file and WRKQRY(Query Report) ?

3 Answers  


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.

4 Answers   HCL,


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.

4 Answers   HCL,


How to create a key field for a logical file inside RPG?

4 Answers   HSBC,


Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?

1 Answers  


How can i keyed a flat file in RPGLE

5 Answers   IBM, Wipro,


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.

10 Answers   Four soft,


Categories