WLM Priority of Program Called by SP

G B

WLM Priority of Program Called by SP

When a external COBOL stored procedure running in a WLM address space calls another COBOL routine (not another stored procedure), what is the WLM priority of the called module?  Does it inherit the same priority as the calling program or does it inherit a default priority assigned within WLM?

 

 

Daniel Luksetich

WLM Priority of Program Called by SP
(in response to G B)
If it is calling a subprogram then it is in the same address space under
the same TCB so it inherits the priority of the stored procedure address
space, which is the priority of the stored procedure.
Cheers,
Dan

On 2018-02-08 07:13, G B wrote:
> When a external COBOL stored procedure running in a WLM address space
> calls another COBOL routine (not another stored procedure), what is
> the WLM priority of the called module? Does it inherit the same
> priority as the calling program or does it inherit a default priority
> assigned within WLM?
>
> -----End Original Message-----
>
>
> Links:
> ------
> [1] http://www.idug.org/p/fo/st/?post=184710&anc=p184710#p184710
> [2] http://www.idug.org/p/fo/si/?topic=19
> [3] http://www.idug.org/p/us/to/

Daniel Luksetich

WLM Priority of Program Called by SP
(in response to G B)
Oh, and by the way you need to update your idug profile with your entire name or you will be booted from this listserv.

Thanks,

Dan



Daniel L Luksetich

DanL Database Consulting



IBM GOLD Consultant

IBM Champion for Analytics

IDUG Content Committee Past-Chairman

IBM Certified Database Adminstrator – DB2 11 DBA for z/OS

IBM Certified System Administrator – DB2 11 for z/OS

IBM Certified Application Developer – DB2 11 for z/OS

IBM Certified Advanced Database Administrator – DB2 10.1 for Linux UNIX and Windows



From: G B [mailto:[login to unmask email]
Sent: Thursday, February 8, 2018 9:14 AM
To: [login to unmask email]
Subject: [DB2-L] - WLM Priority of Program Called by SP



When a external COBOL stored procedure running in a WLM address space calls another COBOL routine (not another stored procedure), what is the WLM priority of the called module? Does it inherit the same priority as the calling program or does it inherit a default priority assigned within WLM?







-----End Original Message-----

Myron Miller

WLM Priority of Program Called by SP
(in response to Daniel Luksetich)
One catch that bit my current client big time and forced the conversion to native mode SPs. One external SP calling another Sp can have scheduling issues and actually fail the scheduling even when the priority of the first sp is at a reasonable rate but not super high. We had a number of SPs that were scheduled at moderately lower priority call other external Sps that inherited the same priority but fail to be scheduled due to issues with the changing of the WLM address space. When we converted the all the SPs to native this went away. And it was even worse when it was a External calling a native mode. Only when everything was native mode did our scheduling issues go away. As an interim we had to make the priority of the externals super high, just below DB2 itself. Major issue for a number of days until we converted everything to native. Of course native is better anyway but for a while there wasn't a compelling reason to convert. This became for us the compelling reason.


Thanks Myron W. Miller


________________________________
From: Daniel Luksetich <[login to unmask email]>
Sent: Thursday, February 8, 2018 10:16 AM
To: [login to unmask email]
Subject: [DB2-L] - RE: WLM Priority of Program Called by SP

If it is calling a subprogram then it is in the same address space under
the same TCB so it inherits the priority of the stored procedure address
space, which is the priority of the stored procedure.
Cheers,
Dan

On 2018-02-08 07:13, G B wrote:
> When a external COBOL stored procedure running in a WLM address space
> calls another COBOL routine (not another stored procedure), what is
> the WLM priority of the called module? Does it inherit the same
> priority as the calling program or does it inherit a default priority
> assigned within WLM?
>
> -----End Original Message-----
>
>
> Links:
> ------
> [1] http://www.idug.org/p/fo/st/?post=184710&amp;anc=p184710#p184710
> [2] http://www.idug.org/p/fo/si/?topic=19
> [3] http://www.idug.org/p/us/to/

-----End Original Message-----