Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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



what built in function can be used with SETLL.If you want to check whether the search argument is ..

Answer / swetha p rao

%Equal should be used with Setll .%Equal says whether the
argument is present or not.

Klist1 SetLL File1
If %Equal
/* Argument Found
else
/* Not found

EndIf

Is This Answer Correct ?    27 Yes 4 No

what built in function can be used with SETLL.If you want to check whether the search argument is ..

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

what built in function can be used with SETLL.If you want to check whether the search argument is ..

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

Post New Answer



More RPG400 Interview Questions

Can more than one subfile record be displayed on one line?

7 Answers   IBM,


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?

0 Answers  


Anybody know the difference of primary file and full procedural file

4 Answers  


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

4 Answers   Manhattan,


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?

0 Answers  






How to sort an array in descending in RPG

3 Answers   Google, TCS,


How many program bind in one module....

0 Answers  


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?

5 Answers  


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

3 Answers  


Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?

1 Answers  


what is *place and *auto keyword in prtf ?plz explain

0 Answers   CSC,


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.

2 Answers   CTS,






Categories