difference between
1:%found and %equal built function in detail with example .
Answers were Sorted based on User's Feedback
%Found is used with Chain to check the existence of record
the values are fetched if record exist.
While %Equal is used with Setll or Setgt to check the existence of record, values are not fetched in this case
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / sachin14muthu
when we look into the file we can use %found, and look into the different format (record format) we can use %equal.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sasikumar c
%found:
Found built in function used in Chain operation it
will point the tell record is there or not in data base.This
function used along with Chain op-code.
%equal:
This function used in Setll or Setgt operation. it
will tell record is there or not in database.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
what r drawbacks of OPM? Why do we go for ILE RPG?
what was the robotech rpg?
what is batch debug in as400?
What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?
Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?
how to change the length of the field in a physicalfile?
What is the difference between iter and do?
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
3 members in a databasefile .how to read records from all the members?????????
How Commitment and Roll back control is used in as400, explain with real time senario ???