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 |
i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.
What will happen if we r using seton lr after return or vice versa.
Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?
3 members in a databasefile .how to read records from all the members?????????
Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?
How do you call procedures in ILE?
1.what are the ARITHMETIC EXPRESSIONS IN CL PGM? 2.How to PASSING PARAMETER TO CL PGM?
How do you do indexing in a physical file?
what are the types of identifers
1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?
how to check on which PF , the LF is dependant ?
I know chain keyword retreive records randomly but how chain keyword exactly works internally????