what is the purpus of the chain and setll and setgt ?
Answers were Sorted based on User's Feedback
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|
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
|Is This Answer Correct ?||5 Yes||0 No|
wirte a simple program for read file in cl
what is multiple member pf
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.
what is error handling concepts in cl
How to add a field to a PF and compile it without loss of data?
Why journalling is compulsory before commitment control?
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.
How to find the list of source physical files in a library?? Is there any way to get a list??
How to retrieve a physical file after deleting that ? what is keyword used for that....??
What is open data path? And what is the difference between access path and open data path?
how to eliminate the level check error
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 ?