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

How to select highest score of each subject or how to select highest income of every month?

0 Answers  


Errors in Sql query will be in which state?

1 Answers  


Why Rpg/400 is Famous?

2 Answers   IBM,


Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

2 Answers   iGate,


What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???

7 Answers   HSBC, Systime,






How can we call CL program to RPG? How many number of parameter we can pass

2 Answers   TCS,


what is the difference between the procedure and module in ILERPG?

4 Answers  


can I touch the array during treatments?

0 Answers   IBM,


1.String operatio such as moving the characters to the variables? 2.what are the building functions for check file longs? 3.which of the following methods will make externally describe file fields available to a program? A: A/copy statement that specifies the library file and member of the field reference file source code B: A data structure definition specification that names the file on the EXTNAME keyword C: A data structure definition specification that names the file on the IMPORT keyword? D: A Definition specification for each desired field with the REFFLD keyword

1 Answers   CSC, CTS,


What is the length of Signature?

3 Answers   UST,


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

0 Answers   IBM,


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

0 Answers  


Categories