how can we find setll setgt chain read reade readp
operations are successfull or not,give example.explain in
detail.

Answer Posted / rajkalyanam

If SETLL and SETGT are successful,that is if record is
found Equal Indicator gets ON.
If READ,READE and READP are not Successfull that is if
record is not found or retrieved Equal Indicator gets ON,
For CHAIN High indicator gets on when CHAIN operation is not
not successfull.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

507


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2519


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?

1455


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

1730


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

548






during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

753


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

768


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.

2278


Explain mdt?

665


How many program bind in one module....

2121


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

1080


can I touch the array during treatments?

756


What is a record lock error?

1265


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

493


how can you display specific subfile page on the screen in unequal subfile?

673