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 |
In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D from B. How would you check the program C has been executed in D?
How can we receive values from a called procedure in CL?
Why we cannot call a service program? If I add a PEP can i call the service program?
How can we search particular records from the database file in RPG. For example, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular 'NAME' field. How can we do the above using SEARCH criteria other than using the IF cond?
what is a rpg?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?
what is ment by "MDT"
how can we can we the data decimal error?how can we open such file in support
Can anybody tell me that why we use option(*nodebugio)in H- Spec?
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.
What is use of IMPORT and EXPORT in RPGLE ? What is activation Group ? What is Service Program ???? How to call another program in RPGLE ?