difference between
1:%found and %equal built function in detail with example .
Answer Posted / 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 |
Post New Answer View All Answers
what is data area and how it is used in rpg program ?
How to declare the pull button in AS/400..
How to handle duplicate error handling in RPG?
How many program bind in one module....
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
how do you use commitment control in rpg?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
how do I declare a minor?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
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.
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
what is file information data structure?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
what are the key words you must use when using a subfile?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.