Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How to get only unique records from a file which contains duplicate data using CPYF command ? Example : FILEA has duplicate records and FILEB is a UNIQUE defined.... and I want to get the data from FILEA to FILEB by eliminating all the duplicate records...

2 Answers  


What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?

2 Answers  


When a object will be locked & when a record will be locked? Plz explain.

2 Answers  


Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Duplicate data error. What action would you take ( C D I R )...?

4 Answers  


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

0 Answers  


difference betwen keywords and opcodes

3 Answers  


How we will read call stack?

4 Answers  


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

2 Answers  


What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file

1 Answers  


how do I preserve and clean the array?

0 Answers   IBM,


How to search particular records from the database file in rpg?

2 Answers  


Suppose in CL we reach at end of file and again we have to reach from 1 record

3 Answers   TCS,


Categories