i have a file with the values 10, 20, 30, 40, if am setll with
the value 25 then readp, so what it will return?

Answer Posted / venkat

SETLL always looks for Equal or Greater value.
in the given entries we don't have 25 so it points to the greater to 25 record which was 30.
here we are using READP so the answer is 20

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do I play {insert rpg system here}?

574


How to handle duplicate error handling in RPG?

1664


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1441


What is ment by record level identifier?

645


How can we override a file during runtime in rpg?

675






What is difference between bind by copy and bind by reference?

1714


what is the necessary keyword needed to scroll subfile records?

692


What are the types of identifiers?

562


How Chain operation copies the record's data to the input buffer for the program?

1068


can I touch the array during treatments?

748


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

541


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

712


what is the procedure and explain about real time scenario.

1468


What is file identifier where we can use?

633


what is the rpg system?

660