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
otherwise.
========================================================
| Is This Answer Correct ? | 5 Yes | 0 No |
I had created one physical file tell me command to enter data in to?
how can i know logical file belongs to which physical file without source?
CRTDTA AND CRTARA should be used along with?
How to find the list of source physical files in a library?? Is there any way to get a list??
what is error handling concepts in cl
how to eliminate the level check error
Can anybody tell why Journalling is compulsary before Commitment Control?
how to know total no of records in pf with out using sql??????
WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?
When we use any keyword like FIFO,LIFO, at file level but whenever we check by runqry we couldn't find answer in FIFO,LIFO,FCFO etc so how we check the answer.
What is the batch job?
what is use of self join and which cases you will use this join