what built in function can be used with SETLL.If you want
to check whether the search argument is successful or not?
Please give me answer with example?
Answers were Sorted based on User's Feedback
Answer / swetha p rao
%Equal should be used with Setll .%Equal says whether the
argument is present or not.
Klist1 SetLL File1
/* Argument Found
/* Not found
|Is This Answer Correct ?||27 Yes||4 No|
Answer / syam
SETLL to set pionter to a record
To set pointer to Starting of the file use
C *LOVAL SETLL Recordname
To set pointer to End of the file use
C *HIVAL SETLL Recordname
To set pointer to a particular record of the file use
C Move currentYEAR YEAR(2008)
C YEAR SETLL Recordname
|Is This Answer Correct ?||3 Yes||8 No|
Answer / guest
%Found built in function is used with SETLL.%found turned
to be on when a record find in the file.
|Is This Answer Correct ?||11 Yes||17 No|
Can more than one subfile record be displayed on one line?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
Anybody know the difference of primary file and full procedural file
1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD
If I have a file with 5 record and that file has 2 Key field and I want to read the unique record of the file then how can we achieve it?
How to sort an array in descending in RPG
How many program bind in one module....
The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?
Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output
Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?
what is *place and *auto keyword in prtf ?plz explain
i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.