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 is the difference between the procedure and module in ILERPG?
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 add 2 new fields in a file? How many ways are there in as400?
When it is desirable to describe files Internally?
1.WHAT IS WRONG WITH THE CODE BELOW? C CUSTNO CHAIN CUSTMAST IF %ERROR can any body find the wrong please? 2.What builtin function will you use to achieve the following functionality? C QTY IFLT *ZERO C QTY MULT-1 QTY ENDIF
two types of read performed in dataqueue?????
without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?
What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52
What is a record lock error?
Why did we give STRSRVJOB while debugging batch program