MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DSNREXX isolation level

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
danm
Intermediate


Joined: 29 Jun 2004
Posts: 170
Topics: 73

PostPosted: Wed Jan 26, 2005 9:15 am    Post subject: DSNREXX isolation level Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed Jan 26, 2005 9:20 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group