View previous topic :: View next topic |
Author |
Message |
danm Intermediate
Joined: 29 Jun 2004 Posts: 170 Topics: 73
|
Posted: Wed Jan 26, 2005 9:15 am Post subject: DSNREXX isolation level |
|
|
Under DSNREXX, one can set the isolation level with the "EXECSQL SET CURRENT PACKAGSET=" command. What is the default isolation level if this command is not issued? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Jan 26, 2005 9:20 am Post subject: |
|
|
Danm,
It depends on the package chosen when your shop installed DB2 REXX Language Support. The default isolation values of the packages are listed below.
Code: |
Package name Isolation level
============ ===============
DSNREXRR Repeatable read (RR)
DSNREXRS Read stability (RS)
DSNREXCS Cursor stability (CS)
DSNREXUR Uncommitted read (UR)
|
To change the isolation level for SQL statements in a REXX procedure, execute the SET CURRENT PACKAGESET statement to select the package with the isolation level you need. For example, to change the isolation level to cursor stability, execute this SQL statement:
[code:1:4cf8c11efd]
"EXECSQL SET CURRENT PACKAGESET= _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|