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 |
Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?
Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?
How Chain operation copies the record's data to the input buffer for the program?
Setps to create .csv file on IFS folder in AS/400( V4R3)....?
can i use unique key in LF
i have 1000 records in pf.what are all the ways to read a particular name records in rpg?? ie.. in pf i have a name called demo appeared around 52 times hw will we read this particular records in rpg/400?.
Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4
I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)
difference betwen keywords and opcodes
what are the key words you must use when using a subfile?