Re: can a program determine the capacity setting of a z-box?

2016-04-27 Thread Horst Sinram
Sysevent REQLPDAT is z/OS only. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: can a program determine the capacity setting of a z-box?

2016-04-27 Thread Horst Sinram
Sysevent REQLPDAT offers quite a bit more information than Sysevent QVS (https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.iead200/iead200821.htm) and could also be called unauthorized when that matters. Horst Sinram - STSM, z/OS Workload and Capacity Management

Re: can a program determine the capacity setting of a z-box?

2016-04-26 Thread Tony Thigpen
Yep. I can get there. Getting in and out of supervisor state is common in my code. Tony Thigpen Greg Dyck wrote on 04/26/2016 01:13 PM: Tony, If you can get into supervisor state, use the STSI instruction. Under z/OS the CSRSI service uses STSI to provide the data that it returns to problem

Re: can a program determine the capacity setting of a z-box?

2016-04-26 Thread Greg Dyck
Tony, If you can get into supervisor state, use the STSI instruction. Under z/OS the CSRSI service uses STSI to provide the data that it returns to problem program state requestors. I don't know if VSE provides any equivalent service. Greg On 4/25/2016 10:55 AM, Tony Thigpen wrote: Is

Re: can a program determine the capacity setting of a z-box?

2016-04-26 Thread Bob Rutledge
On 4/26/2016 12:15 PM, Phil Smith III wrote: Assuming what you want to know is MSU counts (not clear to me from the discussion so far), here's a Rexx snippet to show you those for the CEC and the LPAR: /* REXX -- Looks at memory and displays MSU counts */ z =

Re: can a program determine the capacity setting of a z-box?

2016-04-26 Thread Phil Smith III
Charles Mills wrote: > VSE (as the OP wanted) or only z/OS? Oops. I didn't notice that. Never mind. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO

Re: can a program determine the capacity setting of a z-box?

2016-04-26 Thread Charles Mills
VSE (as the OP wanted) or only z/OS? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Phil Smith III Sent: Tuesday, April 26, 2016 9:16 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: can a program determine the capacity setting

Re: can a program determine the capacity setting of a z-box?

2016-04-26 Thread Phil Smith III
Assuming what you want to know is MSU counts (not clear to me from the discussion so far), here's a Rexx snippet to show you those for the CEC and the LPAR: /* REXX -- Looks at memory and displays MSU counts */ z = c2d(storage(d2x(c2d(storage(d2x(c2d(storage(10,4))+604),4))+228),4)) say

Re: can a program determine the capacity setting of a z-box?

2016-04-26 Thread Neil Duffee
Caveat: the daily digestion causes response delays... I'm sure someone's already suggested this very same... Tony: I feel QVS is your route (if available on VSE) and matches, almost exactly, what you need. Even tho' it's listed in Auth'd Services, it has an un-auth'd access method.

Re: can a program determine the capacity setting of a z-box?

2016-04-26 Thread Tony Thigpen
We actually offer SCRT based pricing, but most of our older customers are licensed for "up to xxx MIPs" or "up to XXX MSUs". (MIPs or MSUs are based on total system size, not LPAR capping.) We also use CPUIDs in our product key. But, I recently had a customer greatly increase their MSUs by

Re: can a program determine the capacity setting of a z-box?

2016-04-26 Thread John McKown
On Mon, Apr 25, 2016 at 9:00 PM, Tony Thigpen wrote: > I license my VSE software to customers based on their cpu capacity. In the > past, I have trusted my customers, but recently, I have had two customers > give 'inaccurate' information. I want to add code to my product

Re: can a program determine the capacity setting of a z-box?

2016-04-26 Thread Gerhard Postpischil
On 4/25/2016 10:00 PM, Tony Thigpen wrote: I license my VSE software to customers based on their cpu capacity. In the past, I have trusted my customers, but recently, I have had two customers give 'inaccurate' information. I want to add code to my product software key to validate either the

Re: can a program determine the capacity setting of a z-box?

2016-04-26 Thread Steve Austin
I used the C interface, IWMQVS, to SYSEVENT QVS on VSE. -- This e-mail message has been scanned and cleared by Google Message Security and the UNICOM Global security systems. This message is for the named person's use only. If you receive this message in error, please delete it and notify

Re: can a program determine the capacity setting of a z-box?

2016-04-26 Thread Martin Packer
Maybe Marna and I should record a podcast item on BCPii enablement and what it buys you. Trouble is I know LITTLE about it. :-) Martin Packer, zChampion, Principal Systems Investigator, Worldwide Cloud & Systems Performance, IBM +44-7802-245-584 email: martin_pac...@uk.ibm.com Twitter /

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Mike Schwab
I saw a paper a couple of months ago (I can't find it right now). It related the experience of an insurance company migrating to a z13. The performance tables indicated it should handle the workload, but it was pegged at 100% and not meeting goals. They upgraded a little bit, and the relief from

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Tony Thigpen
I license my VSE software to customers based on their cpu capacity. In the past, I have trusted my customers, but recently, I have had two customers give 'inaccurate' information. I want to add code to my product software key to validate either the capacity setting or max MSUs. I asked for

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Edward Finnell
I thought there was a Rexx exec on Eric Loriaux's home page, but has gone AWOL. Maybe PLANET MVS, but it's expired. Not a fun adventure. Thought for sure we'd hashed this out before. In a message dated 4/25/2016 7:02:31 P.M. Central Daylight Time, walt.farr...@gmail.com writes: I think

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Pinnacle
On 4/25/2016 3:37 PM, Mark Zelden wrote: On Mon, 25 Apr 2016 15:19:10 -0400, Pinnacle wrote: On 4/25/2016 2:13 PM, Mark Zelden wrote: On Mon, 25 Apr 2016 13:09:10 -0500, John McKown wrote: On Mon, Apr 25, 2016 at 12:54 PM, Tony

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Walt Farrell
On Mon, 25 Apr 2016 19:28:28 -0400, Tony Thigpen wrote: >I want to know if the box is an A01, M04, etc. I think that others are hinting that may not be a meaningful question. Why do you want to know, and what use do you plan to make of the information? -- Walt

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Charles Mills
What is your programming environment? In what language are you querying? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Tony Thigpen Sent: Monday, April 25, 2016 4:28 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: can a

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Tony Thigpen
I want to know if the box is an A01, M04, etc. Tony Thigpen Nims,Alva John (Al) wrote on 04/25/2016 07:20 PM: Sorry, but I thought that Tony was asking what the processor was configured as. For example our z114 is a S02 model, but configured down to a Q02. I guess the question is a little

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Nims,Alva John (Al)
Sorry, but I thought that Tony was asking what the processor was configured as. For example our z114 is a S02 model, but configured down to a Q02. I guess the question is a little ambiguous, I read it as, how is the hardware configured, regardless to any WLM settings. Al Nims Systems

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Steve Beaver
The command you are suggesting does NOT tell you the MIPS only the MODEL and it does not Tell you if the LPAR has been soft or hard capped Steve -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Nims,Alva John (Al) Sent: Monday,

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Nims,Alva John (Al)
#1. MVS Command; D m=CPU CPC ND = 002818.M05.IBM.02.000CFD96 CPC SI = 2818.Q02.IBM.02.000CFD96 Model: M05 #2. Mark's MVS Utilities, IPLINFO program: http://mzelden.com/mvsutil.html Which can also be used as a function call in REXX x = IPLINFO(VAR,

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Mark Zelden
On Mon, 25 Apr 2016 15:19:10 -0400, Pinnacle wrote: >On 4/25/2016 2:13 PM, Mark Zelden wrote: >> On Mon, 25 Apr 2016 13:09:10 -0500, John McKown >> wrote: >> >>> On Mon, Apr 25, 2016 at 12:54 PM, Tony Thigpen wrote:

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Pinnacle
On 4/25/2016 2:13 PM, Mark Zelden wrote: On Mon, 25 Apr 2016 13:09:10 -0500, John McKown wrote: On Mon, Apr 25, 2016 at 12:54 PM, Tony Thigpen wrote: Is there a way for a program to check the capacity setting for a processor? For instance,

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Ed Jaffe
On 4/25/2016 11:09 AM, John McKown wrote: On Mon, Apr 25, 2016 at 12:54 PM, Tony Thigpen wrote: Is there a way for a program to check the capacity setting for a processor? For instance, are we running on a A01 or a w04, etc. processor? -- Tony Thigpen ​What OS? Hardware

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Charles Mills
CSRSI has this, right? https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieaa100/CSRSI_System_information_service.htm (@Tony, great meeting you in person!) Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread Mark Zelden
On Mon, 25 Apr 2016 13:09:10 -0500, John McKown wrote: >On Mon, Apr 25, 2016 at 12:54 PM, Tony Thigpen wrote: > >> Is there a way for a program to check the capacity setting for a >> processor? For instance, are we running on a A01 or a w04, etc.

Re: can a program determine the capacity setting of a z-box?

2016-04-25 Thread John McKown
On Mon, Apr 25, 2016 at 12:54 PM, Tony Thigpen wrote: > Is there a way for a program to check the capacity setting for a > processor? For instance, are we running on a A01 or a w04, etc. processor? > -- > Tony Thigpen > ​What OS? Hardware wise, there is STIDP. But it requires