difference between
1:%found and %equal built function in detail with example .

Answers were Sorted based on User's Feedback



difference between 1:%found and %equal built function in detail with example ...

Answer / alok kumar

%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

difference between 1:%found and %equal built function in detail with example ...

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

difference between 1:%found and %equal built function in detail with example ...

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

difference between 1:%found and %equal built function in detail with example ...

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

difference between 1:%found and %equal built function in detail with example ...

Answer / ram

Extra..
%Equal used in case of %Lookup also..

Is This Answer Correct ?    0 Yes 0 No

difference between 1:%found and %equal built function in detail with example ...

Answer / shishir

Sachin bhai thanx : will you please elaborate it more

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More RPG400 Interview Questions

Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?

1 Answers  


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?

0 Answers  


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 ?

3 Answers   IBM,


Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?

6 Answers  


How Chain operation copies the record's data to the input buffer for the program?

0 Answers   IBM,






Setps to create .csv file on IFS folder in AS/400( V4R3)....?

3 Answers   TCS,


can i use unique key in LF

3 Answers   TCS,


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?.

11 Answers   IBM,


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

4 Answers  


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)

3 Answers   Opus,


difference betwen keywords and opcodes

3 Answers  


what are the key words you must use when using a subfile?

0 Answers   IBM,


Categories