difference between
1:%found and %equal built function in detail with example .

Answer Posted / kirubaharan j

%found : This built-in-function is used along with CHAIN
op-code, to find whether the chained record is found in
database file or not. We can use this built-in-function with
condition after CHAIN the record. eg: If %Found(PF Name);

%Equal : This built-in-function is used along with SETLL and
SETGT op-code, to find whether the record is available in
database file or not. We can use this built-in-function with
condition after SETLL or SETGT the record.
eg: If %Equal(PF Name);

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the key words you must use when using a subfile?

694


How to handle duplicate error handling in RPG?

1689


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

721


What is the difference between iter and do?

680


How to call one program from another program in RPG? please help me with the code

1265






1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5431


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

677


how do I declare a table or array in rpg iv?

741


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.

2283


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

1085


When it is desirable to describe files Internally?

1196


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?

1459


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

553


what is the necessary keyword needed to scroll subfile records?

707


explain sflclr, sflend, sfldlt, and sflcsrrrn?

891