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


what is the purpus of the chain and setll and setgt ?

Answers were Sorted based on User's Feedback



what is the purpus of the chain and setll and setgt ?..

Answer / sameer tirkey

Chain would fetch a record based on search criteria and put the result in the input field. The search condition could be key value or rrn , based on the value fed the search is made and the records are fetched.

Is This Answer Correct ?    6 Yes 0 No

what is the purpus of the chain and setll and setgt ?..

Answer / k

CHAIN is used for random retrieval from a File. In other
words, whatever value used by programmer in Factor 1/Key
against CHAIN opcode will be used as search/find criteria in
database file. NO VALUE RETRIEVED IN NO CRITERIA MATCH. It
can be well understand, in case of using composite keys.

But in case of SETLL and SETGT, program will return some
value, if any value present in the database/physical file.

CHAIN = Sets pointer on exact value

SETLL = Sets pointer on Lower Limit of the value

SETGT = Sets pointer on Greater Limit of the value

==========================================================

It is recommended, use CHAIN only, if record exist in
database file, instead of SETLL and SETGT, which can be used
otherwise.
========================================================

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More DB400 Interview Questions

wirte a simple program for read file in cl

2 Answers   Active Brains,


what is multiple member pf

1 Answers   Active Brains,


If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.

2 Answers  


what is error handling concepts in cl

3 Answers   Active Brains,


How to add a field to a PF and compile it without loss of data?

6 Answers  






Why journalling is compulsory before commitment control?

1 Answers  


In a CL Program after executing a SQL SP how to receive a Output value from the SP. Just to make it clear I am sending 2 input and 1 output parameter to the SQL Stored Procedure. Now while receiving it output parm it is failing.

0 Answers   Nous,


How to find the list of source physical files in a library?? Is there any way to get a list??

4 Answers   Infosys,


How to retrieve a physical file after deleting that ? what is keyword used for that....??

6 Answers  


What is open data path? And what is the difference between access path and open data path?

1 Answers  


how to eliminate the level check error

2 Answers   TCS,


How can i retrieve city while my i have one field address length 60 but i don't know what where is city in this field ?

4 Answers  






Categories