Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

WLM for Stored Procedure

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: WLM for Stored Procedure
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: 7931
Location: Bellevue, IA

PostPosted: Tue Jul 28, 2009 10:47 pm    Post subject:
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    Post subject:
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: 7931
Location: Bellevue, IA

PostPosted: Tue Jul 28, 2009 11:52 pm    Post subject:
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    Post subject:
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: 7931
Location: Bellevue, IA

PostPosted: Wed Jul 29, 2009 5:16 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm
This topic is locked: you cannot edit posts or make replies. Stored procedure on Federated thru DB2 arif677 DB2 6 Tue May 31, 2016 11:48 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us