View previous topic :: View next topic |
Author |
Message |
chikdu Beginner
Joined: 06 Jul 2005 Posts: 29 Topics: 20
|
Posted: Thu Jul 14, 2005 6:49 am Post subject: Declaring cursor with hold |
|
|
Hi,
I would like to know whether i should declare a cursor with hold for data retrieval in a CICS,DB2 environment. Is declaring a cursor with hold a good option for data retrieval?
Pls,let me know.
Thanks. |
|
Back to top |
|
 |
SureshKumar Intermediate
Joined: 23 Jan 2003 Posts: 211 Topics: 21
|
Posted: Thu Jul 14, 2005 7:02 am Post subject: |
|
|
chikdu,
not required within a unit of work. if the process spawns multiple units of work then its required. basically look into what 'with hold' does - it leaves the cursor open at the time of commit. thanks |
|
Back to top |
|
 |
|
|