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


In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?



In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETL..

Answer / sandey243

If you just want to know whether the record exists or not, SETLL is best as it just points to the record and doesn't store the data in to fields ( time saving ) where as CHAIN will read and stores the data in to fields ( time consuming ).

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More RPG400 Interview Questions

I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?

4 Answers   CitiGroup, Symphony,


How to update physical file in rpgle without using display file?

4 Answers   GalaxE, IBM, TCS,


Need a sql query: retrieve all duplicate records in table?

1 Answers  


What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?

10 Answers  


CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?

6 Answers   Satyam,






1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

0 Answers   HCL,


How to identify the object has compiled with the debug view as *source without using STRDBG?

6 Answers  


What is the purpose of PUTOVR keyword?

2 Answers  


If record-format name in an externally-described file has already been defined as a file-name.how to solve this?

2 Answers   CTS,


What is the difference between inner join @ outer join

4 Answers  


how do I declare a minor?

0 Answers   IBM,


How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.

4 Answers   IBM,






Categories