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 / ardeep
If the SETLL operation is not successful (no records found condition), the file is positioned to the end of the file.
10 20 30 40
So when 25 is searched the pointer goes to 40.
And now when READP (Read Previous) is issued it fetches
30.
Answer is 30.
Have Fun :) !!
Is This Answer Correct ? | 5 Yes | 22 No |
Post New Answer View All Answers
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
what is an online rpg?
what is the procedure and explain about real time scenario.
what is file information data structure?
How many program bind in one module....
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
How to select highest score of each subject or how to select highest income of every month?
what is the use of sflnxtchg?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
How Chain operation copies the record's data to the input buffer for the program?
what is the necessary keyword needed to scroll subfile records?
what is the difference between do while and do until?
how do I declare a minor?