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 environment Usage

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Testing & Performance analysis
View previous topic :: :: View next topic  
Author Message
rinitha

New User


Joined: 22 Aug 2009
Posts: 4
Location: Chennai

PostPosted: Thu Sep 01, 2011 6:37 pm    Post subject: WLM environment Usage
Reply with quote

Hi,

I have a single DB2 subsystem called DB2T in which many schemas are defined. The same tables exists in different schemas. We are creating new test regions by creating new schemas.

As part of this task,while creating a routine for a COBOL stored procedure, we are specifying the collection ID and the WLM environment. If the same COBOL stored procedure(no code change) is used for testing by multiple testing teams simultaneously, how do we define the routine? Since each team has a different schema/qualifier already, can we have a common WLM environment ? Or a new WLM environment has to be defined for each testing team(eventhough they use a different schema)?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Thu Sep 01, 2011 6:53 pm    Post subject:
Reply with quote

WLM is managing system resources at the LPAR level. As usual, something of a balancing act is required -- define too few resources for WLM to manage and your system won't disntinguish sufficiently between workloads; define too many resources for WLM to manage and your system is spending more time on resource management than it should. The rough rule of thumb is that similar workloads should be classified together -- production online, production batch, qa, development online, and development batch (as an example). If you start breaking development batch into too many pieces for WLM to manage, you're going to be confusing the overall picture and possibly preventing WLM from managing the system adequately.

It all depends upon whether or not your site management thinks there is benefit from having different WLM policies for the different environments -- if not, use a single one but if so, use as few as will satisfy the management imperative.
Back to top
View user's profile Send private message
rinitha

New User


Joined: 22 Aug 2009
Posts: 4
Location: Chennai

PostPosted: Thu Sep 01, 2011 7:12 pm    Post subject: Reply to: WLM environment Usage
Reply with quote

Hi Robert,

As far as performance is concerned, the number of users and SPs are less, so I believe I can use the same WLM. But with 2 routine definitions of same stored procedure, using different schemas and same WLM, can 2 teams test simultaneously?

Another concern is, if incase I am changing the SP(stored procedure) and moving it to a different load library, will that affect the WLM environment usage?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Thu Sep 01, 2011 7:40 pm    Post subject:
Reply with quote

I think you completely misunderstand WLM. WLM has absolutely nothing to do with individual load libraries -- in fact, "load library" is not even in the MVS Planning: Workload Management manual index. The number of users does not matter to WLM, either -- WLM is looking at EVERY job, EVERY started task, EVERY CICS task, EVERY DB2 task, EVERY TSO user, EVERY Unix System Services process running on that particular LPAR.

When you say "using different schemas and same WLM", what on earth do you mean? There is ONE and only one WLM policy in effect on a machine at any given time, and it governs batch work, started tasks, CICS, DB2, IMS, TSO, Unix System Services, and everything else being done on that LPAR. You may classify a particular workload into one WLM service class or another (based on name or job class or ...) but those service classes are all part of the one WLM policy.

WLM policy is set and controlled by the site -- and every site pretty much has its own WLM policy set. If you need to know specifics about your site's WLM policy, you absolutely cannot get those answers from this -- or any other -- forum as only someone working AT YOUR SITE will know the answers.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 650
Location: Whitby, ON, Canada

PostPosted: Fri Sep 02, 2011 12:10 am    Post subject:
Reply with quote

DB2 stored procedures run in what are called WLM-controlled regions. This is in contrast to the past when all DB2 stored procedures ran in the DB2SPAS (DB2 Stored Procedure Address Space). So this question has nothing to do with WLM per se.

There may be other ways to set up multiple test regions, but the approach I have seen is to set up a separate WLM-controlled region for each test environment.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Fri Sep 02, 2011 1:36 am    Post subject: Reply to: WLM environment Usage
Reply with quote

Quote:
but the approach I have seen is to set up a separate WLM-controlled region for each test environment.


Yes! .... but the TS already misworded the whole shebang... he/she does not have different test environments in the <common> sense ( a DB2 subsystem for each test environment )

he/she simply has <one> test environment/DB2 subsystem with different owners for each occurrence of some set of tables

my suggestion in this case just stack all the SP into the same WLM pool, after all is just a test db2 subsystem

it would be different for a production system where some fine tuning could be required,
( different WLM pools with different policies/performance targets )
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 -> Testing & Performance analysis All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need inputs on Space requirement and... ashek15 IMS DB/DC 0 Sat Apr 01, 2017 8:26 am
No new posts How can amount of the Storage Usage b... esduman61 CICS 6 Wed Mar 09, 2016 1:19 pm
No new posts VAX COBOL ( VMS Environment) Virendra Shambharkar COBOL Programming 1 Fri Mar 04, 2016 11:40 am
No new posts Cobol environment variable and XCTL Mickeydusaor COBOL Programming 4 Thu Jan 21, 2016 1:28 am
No new posts Controlling usage of resources by tasks raja1128 CICS 3 Fri Nov 06, 2015 9:53 am


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