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
what are the key words you must use when using a subfile?
How to handle duplicate error handling in RPG?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
What is the difference between iter and do?
How to call one program from another program in RPG? please help me with the code
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.
how can you display specific subfile page on the screen in unequal subfile?
how do I declare a table or array in rpg iv?
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.
How Chain operation copies the record's data to the input buffer for the program?
When it is desirable to describe files Internally?
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?
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
what is the necessary keyword needed to scroll subfile records?
explain sflclr, sflend, sfldlt, and sflcsrrrn?