IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

explain about acquire and release parameters in binding


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
tarunflash

New User


Joined: 15 Oct 2005
Posts: 25

PostPosted: Mon Feb 20, 2006 6:58 pm
Reply with quote

can u explain about acquire and release parameters in binding?

Title changed from "db2" to "explain about acquire and release parameters in binding" : Priyesh.
Back to top
View user's profile Send private message
ragshere

New User


Joined: 20 Dec 2004
Posts: 70

PostPosted: Tue Feb 21, 2006 1:27 pm
Reply with quote

hey tarun,

Acquire and release parameters will tell you when the locks needs to be taken and release.

If you mention ACQUIRE(ALLOCATE) and RELEASE(DEALLOCATE) in bind step, that means locks will be taken on the tables (used in the program) when the thread started and locks will be released when the thread ended.

ACQUIRE has another value USE. It will allow to take locks when actually needed.

RELEASE has another option COMMIT. It will ensure to release locks when a commit occured even though thread is active.

Hope you got me,

Thanks
Rags
Back to top
View user's profile Send private message
pnambiar

New User


Joined: 24 Feb 2006
Posts: 3

PostPosted: Sat Feb 25, 2006 1:04 am
Reply with quote

ACQUIRE and RELEASE are tablespace locking stratgey at the PLAN level.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts Mass JCL release via IDZ tool(eclipse... CA Products 1
No new posts Injecting HTTPHEADER parameters in th... PL/I & Assembler 0
No new posts passing symbolic parameters through d... JCL & VSAM 3
Search our Forums:

Back to Top