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

WLM for Stored Procedure


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

New User


Joined: 15 May 2006
Posts: 23
Location: Jamshedpur

PostPosted: Tue Jul 28, 2009 10:28 pm
Reply with quote

Hi,

Why we need WLM for Stored Procdeure. I mean, WLM is just a load balancing manager.

Rgds,
Rakesh
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Jul 28, 2009 10:47 pm
Reply with quote

Quote:
WLM is just a load balancing manage
and DB2 is just a file processing manager. Both statements are about equally true and equally misleading.

WLM can manage initiators (allowing more or fewer jobs into the system), prioritize work load (such as allow online work to have priority over batch), and otherwise manage the various resources of the system. Furthermore, it is not really optional -- one mode or the other, it is running on your system.
Back to top
View user's profile Send private message
wanderer

Active User


Joined: 05 Feb 2007
Posts: 199
Location: Sri Lanka

PostPosted: Tue Jul 28, 2009 11:21 pm
Reply with quote

Its not always needed.
V7 DB2 had the option to use SPAS instead of WLM.
V9 Db2, if you use native SQL procedure then it doesn't need WLM.
I am not exactly sure why WLM is needed such as, for external host language stored procs. Though WLM certainly has its advantages as Robert mentioned.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Jul 28, 2009 11:52 pm
Reply with quote

Workload Manager is part of z/OS. Whether you use native SQL or not, the address space(s) are being managed by WLM -- always.
Back to top
View user's profile Send private message
wanderer

Active User


Joined: 05 Feb 2007
Posts: 199
Location: Sri Lanka

PostPosted: Wed Jul 29, 2009 5:09 am
Reply with quote

Robert Sample wrote:
Workload Manager is part of z/OS. Whether you use native SQL or not, the address space(s) are being managed by WLM -- always.


True. I guess I should have written WLM-managed-stored-procedure-address-space everytime I said WLM.

In that sense, native SQL procs will not require this separate WLM-managed-stored-procedure-address-space

Since DB2 subsystem started tasks and address spaces are also managed by z/OS WLM, I guess the old DB2 managed stored proc address space(SPAS) was also indirectly managed by WLM although not usually called WLM managed.

If so then the native SQL procs although don't require a separate address space directly managed by WLM, are not entirely independent of WLM. This part has been a bit confusing for me.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Wed Jul 29, 2009 5:16 am
Reply with quote

Simple rule of thumb: if it is running in an address space on a z machine, WLM is managing it -- because WLM manages all address spaces on the machine.
Back to top
View user's profile Send private message
rakesh_mishra18

New User


Joined: 15 May 2006
Posts: 23
Location: Jamshedpur

PostPosted: Wed Jul 29, 2009 10:02 am
Reply with quote

Thanks a lot..its very much clear now.
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 Invoke stored procedure via batch JCL. DB2 2
No new posts Calling COBOL DB2 program from a COBO... COBOL Programming 2
No new posts Cond parameter and Rc code of a proce... JCL & VSAM 5
This topic is locked: you cannot edit posts or make replies. Internal Autonomous Stored Procedure ... DB2 6
No new posts Stored procedure cpu utilization DB2 1
Search our Forums:

Back to Top