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

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: BCPii (Was: can a program determine the capacity setting of a z-box?)

2016-04-27 Thread Mike Shorkend
You might want to look at my SHARE presentation

http://share.confex.com/data/handout/share/126/Session_18592_handout_9070_0.pdf

I describe how BCPii is used to automate a daily DR test.

The lack of support for zVM is indeed annoying. I spoke to Steve
Warren(responsible for BCPII development at IBM) at San Antonio about the
lack of zVM support for BCPii. He told me that it would require
considerable effort on the zVM side. So I would not hold my breath on that
one.



Mike






On 26 April 2016 at 17:58, Ed Jaffe  wrote:

> On 4/25/2016 5:20 PM, Pinnacle wrote:
>
>> :-P   BCPii is fairly prevalent these days. It's
>> enabled everywhere I've been.
>>
>
> Now that we're talking about BCPii, despite it being a _totally,
> completely and thoroughly_ inappropriate solution to the OP's original
> question, I gotta wonder how prevalent is really is...
>
> Many customer dumps I look at don't seem to have HWIBCPII running. I
> thought for sure we were running it here, but when I checked just now it
> wasn't up. After I issued the S HWISTART command, it came up and shut right
> back down. Looking at the messages, it appears we forgot to update the
> Support Element on our z13s with the community name, etc. necessary to
> enable this function. (Oops. :-[ ) Oh yeah, and I need to set up a slew of
> HWI security profiles in RACF with our new CPC serial number. Ugh. Another
> time...
>
> Also, keep in mind that BCPii is an LPAR-only facility. You get the
> following messages if you dare try to start it on a z/OS system running as
> a z/VM guest:
>
> HWI016I THE BCPII COMMUNICATION RECOVERY ENVIRONMENT IS 183
> NOW ESTABLISHED.
> HWI010I BCPII DOES NOT OPERATE ON A VM GUEST. BCPII INITIALIZATION 184
> IS HALTED.
> HWI006I BCPII ADDRESS SPACE HAS ENDED.
>
> --
> Edward E Jaffe
> Phoenix Software International, Inc
> 831 Parkview Drive North
> El Segundo, CA 90245
> http://www.phoenixsoftware.com/
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>



-- 
Mike Shorkend
m...@shorkend.com
www.shorkend.com
Tel: +972524208743
Fax: +97239772196

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: BCPii (Was: can a program determine the capacity setting of a z-box?)

2016-04-27 Thread Martin Packer
That explains "A158" and "3090" (and "C580") :-)  True dat. :-)

In my new "How To Be A Better Performance Specialist (Than Martin Packer)" 
:-) presentation I reinforce the importance of having a view of an 
installation's history.

I was talking last week to a customer's "NextGen z" people with the 
material and it was interesting because they are (like so many others) the 
result of 2 merged customers, each themselves the product of several 
previous merges. So THEIR history is particularly interesting and full of 
naming oddities. "We like naming conventions so much we've many of them" 
:-) is a familiar meme.

Cheers, Martin

Cheers, Martin

Martin Packer,
zChampion, Principal Systems Investigator,
Worldwide Cloud & Systems Performance, IBM

+44-7802-245-584

email: martin_pac...@uk.ibm.com

Twitter / Facebook IDs: MartinPacker

Blog: 
https://www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker

Podcast Series (With Marna Walle): 
https://developer.ibm.com/tv/category/mpt/



From:   Jesse 1 Robinson 
To: IBM-MAIN@LISTSERV.UA.EDU
Date:   26/04/2016 23:28
Subject:Re: BCPii (Was: can a program determine the capacity 
setting of a z-box?)
Sent by:IBM Mainframe Discussion List 



I've known shops that let serial or model number creep into naming 
conventions. Like Mark, we control names across upgrades. Back in the 
Stone Age, IBM used to recommend embedding model number in SMF and JES 
names. And that required a cold start to change! Sort of nuts it seems to 
me. 

.
.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-302-7535 Office
robin...@sce.com


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On 
Behalf Of Mark Zelden
Sent: Tuesday, April 26, 2016 3:09 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: BCPii (Was: can a program determine the capacity 
setting of a z-box?)

On Tue, 26 Apr 2016 13:25:45 -0700, Ed Jaffe  
wrote:

>On 4/26/2016 1:13 PM, Mark Zelden wrote:
>> When my client replaces their CPCs the name is kept the same.  For 
example
>> CPCA, CPCB, CPCC, ...  etc.   The RACF profile is based on that name so
>> nothing needs to be changed in RACF.
>
>A RACF SEARCH command produces the following profiles beginning with 
>HWI in the FACILITY class:
>
>HWI.APPLNAME.HWISERV
>HWI.IBM390PS.P00C9632.HWISERV
>HWI.TARGET.IBM390PS.P00C9632
>HWI.TARGET.IBM390PS.P00C9632.* (G)
>
>The P00C9632 qualifier is based on the serial number of our old CPC. 
>Our z13s was not an MES upgrade from the zBC12. It was a "net new" 
>machine and -- as such -- has a brand new serial number. (The zBC12 was 
>moved to our DR site.)
>

It sounds like that was your CPC name also.I have RACF profiles like 
the following
and nothing needed to be changed when we rolled in 5 z13s late last year. 

HWI.CAPREC.IBM390PS.CF01.* (G)
HWI.CAPREC.IBM390PS.CPCA.* (G)
HWI.CAPREC.IBM390PS.CPCB.* (G)
HWI.CAPREC.IBM390PS.CPCC.* (G)
HWI.CAPREC.IBM390PS.CPCD.* (G)
HWI.TARGET.IBM390PS.CF01.* (G)
HWI.TARGET.IBM390PS.CPCA.* (G)
HWI.TARGET.IBM390PS.CPCB.* (G)
HWI.TARGET.IBM390PS.CPCC.* (G)
HWI.TARGET.IBM390PS.CPCD.* (G) 

The RACF calls are based on the CPC name, not the definition in the HMC 
under the API settings. Since we kept the CPC names the change, nothing 
had to change in RACF.  IBM copied over HMC settings as part of the 
migration (all 5 boxes, of which one is a stand alone CF, were all "net 
new" and the old ones returned to IBM). 

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieac100/iea3c1_Authority_to_the_particular_resource.htm


Best regards,

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS ITIL v3 
Foundation Certified mailto:m...@mzelden.com Mark's MVS Utilities: 
http://www.mzelden.com/mvsutil.html
Systems Programming expert at http://search390.techtarget.com/ateExperts/


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: BCPii (Was: can a program determine the capacity setting of a z-box?)

2016-04-26 Thread Jesse 1 Robinson
I've known shops that let serial or model number creep into naming conventions. 
Like Mark, we control names across upgrades. Back in the Stone Age, IBM used to 
recommend embedding model number in SMF and JES names. And that required a cold 
start to change! Sort of nuts it seems to me. 

.
.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-302-7535 Office
robin...@sce.com


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Mark Zelden
Sent: Tuesday, April 26, 2016 3:09 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: BCPii (Was: can a program determine the capacity 
setting of a z-box?)

On Tue, 26 Apr 2016 13:25:45 -0700, Ed Jaffe  
wrote:

>On 4/26/2016 1:13 PM, Mark Zelden wrote:
>> When my client replaces their CPCs the name is kept the same.  For example
>> CPCA, CPCB, CPCC, ...  etc.   The RACF profile is based on that name so
>> nothing needs to be changed in RACF.
>
>A RACF SEARCH command produces the following profiles beginning with 
>HWI in the FACILITY class:
>
>HWI.APPLNAME.HWISERV
>HWI.IBM390PS.P00C9632.HWISERV
>HWI.TARGET.IBM390PS.P00C9632
>HWI.TARGET.IBM390PS.P00C9632.* (G)
>
>The P00C9632 qualifier is based on the serial number of our old CPC. 
>Our z13s was not an MES upgrade from the zBC12. It was a "net new" 
>machine and -- as such -- has a brand new serial number. (The zBC12 was 
>moved to our DR site.)
>

It sounds like that was your CPC name also.I have RACF profiles like the 
following
and nothing needed to be changed when we rolled in 5 z13s late last year.  

HWI.CAPREC.IBM390PS.CF01.* (G)
HWI.CAPREC.IBM390PS.CPCA.* (G)
HWI.CAPREC.IBM390PS.CPCB.* (G)
HWI.CAPREC.IBM390PS.CPCC.* (G)
HWI.CAPREC.IBM390PS.CPCD.* (G)
HWI.TARGET.IBM390PS.CF01.* (G)
HWI.TARGET.IBM390PS.CPCA.* (G)
HWI.TARGET.IBM390PS.CPCB.* (G)
HWI.TARGET.IBM390PS.CPCC.* (G)
HWI.TARGET.IBM390PS.CPCD.* (G)  

The RACF calls are based on the CPC name, not the definition in the HMC under 
the API settings. Since we kept the CPC names the change, nothing had to change 
in RACF.  IBM copied over HMC settings as part of the migration (all 5 boxes, 
of which one is a stand alone CF, were all "net new" and the old ones returned 
to IBM). 

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieac100/iea3c1_Authority_to_the_particular_resource.htm

Best regards,

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS ITIL v3 
Foundation Certified mailto:m...@mzelden.com Mark's MVS Utilities: 
http://www.mzelden.com/mvsutil.html
Systems Programming expert at http://search390.techtarget.com/ateExperts/


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: BCPii (Was: can a program determine the capacity setting of a z-box?)

2016-04-26 Thread Mark Zelden
On Tue, 26 Apr 2016 13:25:45 -0700, Ed Jaffe  
wrote:

>On 4/26/2016 1:13 PM, Mark Zelden wrote:
>> When my client replaces their CPCs the name is kept the same.  For example
>> CPCA, CPCB, CPCC, ...  etc.   The RACF profile is based on that name so
>> nothing needs to be changed in RACF.
>
>A RACF SEARCH command produces the following profiles beginning with HWI
>in the FACILITY class:
>
>HWI.APPLNAME.HWISERV
>HWI.IBM390PS.P00C9632.HWISERV
>HWI.TARGET.IBM390PS.P00C9632
>HWI.TARGET.IBM390PS.P00C9632.* (G)
>
>The P00C9632 qualifier is based on the serial number of our old CPC. Our
>z13s was not an MES upgrade from the zBC12. It was a "net new" machine
>and -- as such -- has a brand new serial number. (The zBC12 was moved to
>our DR site.)
>

It sounds like that was your CPC name also.I have RACF profiles like the 
following
and nothing needed to be changed when we rolled in 5 z13s late last year.  

HWI.CAPREC.IBM390PS.CF01.* (G)  
HWI.CAPREC.IBM390PS.CPCA.* (G)  
HWI.CAPREC.IBM390PS.CPCB.* (G)  
HWI.CAPREC.IBM390PS.CPCC.* (G)  
HWI.CAPREC.IBM390PS.CPCD.* (G)  
HWI.TARGET.IBM390PS.CF01.* (G)  
HWI.TARGET.IBM390PS.CPCA.* (G)  
HWI.TARGET.IBM390PS.CPCB.* (G)  
HWI.TARGET.IBM390PS.CPCC.* (G)  
HWI.TARGET.IBM390PS.CPCD.* (G)  

The RACF calls are based on the CPC name, not the definition in the HMC 
under the API settings. Since we kept the CPC names the change, nothing
had to change in RACF.  IBM copied over HMC settings as part of the
migration (all 5 boxes, of which one is a stand alone CF, were all
"net new" and the old ones returned to IBM). 

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieac100/iea3c1_Authority_to_the_particular_resource.htm

Best regards,

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS
ITIL v3 Foundation Certified
mailto:m...@mzelden.com
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html
Systems Programming expert at http://search390.techtarget.com/ateExperts/
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: BCPii (Was: can a program determine the capacity setting of a z-box?)

2016-04-26 Thread Ed Jaffe

On 4/26/2016 1:13 PM, Mark Zelden wrote:

When my client replaces their CPCs the name is kept the same.  For example
CPCA, CPCB, CPCC, ...  etc.   The RACF profile is based on that name so
nothing needs to be changed in RACF.


A RACF SEARCH command produces the following profiles beginning with HWI 
in the FACILITY class:


HWI.APPLNAME.HWISERV
HWI.IBM390PS.P00C9632.HWISERV
HWI.TARGET.IBM390PS.P00C9632
HWI.TARGET.IBM390PS.P00C9632.* (G)

The P00C9632 qualifier is based on the serial number of our old CPC. Our 
z13s was not an MES upgrade from the zBC12. It was a "net new" machine 
and -- as such -- has a brand new serial number. (The zBC12 was moved to 
our DR site.)


I suppose we could (and probably should) replace that qualifier with an 
asterisk (*) but it wasn't done that way originally...


--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: BCPii (Was: can a program determine the capacity setting of a z-box?)

2016-04-26 Thread Mark Zelden
On Tue, 26 Apr 2016 07:58:23 -0700, Ed Jaffe  
wrote:


>Oh yeah, and I need to set up a
>slew of HWI security profiles in RACF with our new CPC serial number.
>Ugh. Another time...
>

When my client replaces their CPCs the name is kept the same.  For example
CPCA, CPCB, CPCC, ...  etc.   The RACF profile is based on that name so 
nothing needs to be changed in RACF.  

Best regards,

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS
ITIL v3 Foundation Certified
mailto:m...@mzelden.com
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html
Systems Programming expert at http://search390.techtarget.com/ateExperts/
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: BCPii (Was: can a program determine the capacity setting of a z-box?)

2016-04-26 Thread Mark Zelden
On Tue, 26 Apr 2016 07:58:23 -0700, Ed Jaffe  
wrote:

>On 4/25/2016 5:20 PM, Pinnacle wrote:
>> :-P   BCPii is fairly prevalent these days.
>> It's enabled everywhere I've been.
>
>Now that we're talking about BCPii, despite it being a _totally,
>completely and thoroughly_ inappropriate solution to the OP's original
>question, I gotta wonder how prevalent is really is...
>
>Many customer dumps I look at don't seem to have HWIBCPII running. I
>thought for sure we were running it here, but when I checked just now it
>wasn't up. After I issued the S HWISTART command, it came up and shut
>right back down. Looking at the messages, it appears we forgot to update
>the Support Element on our z13s with the community name, etc. necessary
>to enable this function. (Oops. :-[ ) Oh yeah, and I need to set up a
>slew of HWI security profiles in RACF with our new CPC serial number.
>Ugh. Another time...
>
>Also, keep in mind that BCPii is an LPAR-only facility. You get the
>following messages if you dare try to start it on a z/OS system running
>as a z/VM guest:
>
>HWI016I THE BCPII COMMUNICATION RECOVERY ENVIRONMENT IS 183
>NOW ESTABLISHED.
>HWI010I BCPII DOES NOT OPERATE ON A VM GUEST. BCPII INITIALIZATION 184
>IS HALTED.
>HWI006I BCPII ADDRESS SPACE HAS ENDED.
>
>--
>Edward E Jaffe
>Phoenix Software International, Inc
>831 Parkview Drive North
>El Segundo, CA 90245
>http://www.phoenixsoftware.com/
>
>--
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
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-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 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 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?


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
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-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 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?


--
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-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 = c2d(storage(d2x(c2d(storage(d2x(c2d(storage(10,4))+604),4))+228),4))


Should this be storage(16,4) rather than  storage(10,4)?


say 'CEC='c2d(storage(d2x(z+32),4))'; LPAR='c2d(storage(d2x(z+28),4))

Note that if the LPAR is soft-capped, the numbers will be the same.


Bob

--
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-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 IBM-MAIN


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 of a z-box?

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 'CEC='c2d(storage(d2x(z+32),4))'; LPAR='c2d(storage(d2x(z+28),4))

Note that if the LPAR is soft-capped, the numbers will be the same.

--
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-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 'CEC='c2d(storage(d2x(z+32),4))'; LPAR='c2d(storage(d2x(z+28),4))

Note that if the LPAR is soft-capped, the numbers will be the same.

HTH

...phsiii

--
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-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.  (Research req'd; I don't use it.)

From "Query a virtual server (QVS)" in "Authorized Assembler Services Reference 
SET-WTO" 
(http://www.ibm.com/support/knowledgecenter/api/content/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieaa400/cqvs.htm),
 you might like this snippet: "Along with this SYSEVENT, there is also a C 
interface, IWMQVS (located in SYS1.CSSLIB). ... The assembler mapping is 
provided by the macro IRAQVS, and the C/C++ mapping is provided in IWMQVS.H 
(located in SYS1.SIEAHDR.H). Before calling this service, the caller must ..."

As an aside, I feel you should be using QvsImgCapacity and not QvsCecCapacity 
or QvsVmCapacity to allow someone with a *huge* machine to run your stuff 
(technical term) in a crippled location.  We have had this problem with 
Software AG for decades where they licence the machine's potential whether it 
matches the capacity required for only their software. [1]  It's what 
eventually led to the university deciding to drop z/OS & zSeries entirely. 
(projected switch in November with decommissioning in a year)

[1]  We probably could have justified zBox as a big DB2 back-end if we could 
have run the Software AG stuff in a capped LPar.  These daze, I guesstimate we 
have >50% non-SAG DB2 work since our zIIP runs a steady 5-10% (ie. 30% of a 
GPU) with 40-50% peaks.  Distributed DB2 could transfer the major work to a 
non-capped LPar and keep the licence fees reasonable.  sorry, 

>  signature = 8 lines follows  <
Neil Duffee, Joe Sysprog, uOttawa, Ottawa, Ont, Canada
telephone:1 613 562 5800 x4585  fax:1 613 562 5161
mailto:NDuffee of uOttawa.ca http:/ /aix1.uOttawa.ca/ ~nduffee
“How *do* you plan for something like that?”  Guardian Bob, Reboot
“For every action, there is an equal and opposite criticism.”
“Systems Programming: Guilty, until proven innocent”  John Norgauer 2004
"Schrodinger's backup: The condition of any backup is unknown until a restore 
is attempted."  John McKown 2015

-Original Message-
From: Tony Thigpen [mailto:to...@vse...com] 
Sent: April 25, 2016 22:00
Subject: Re: can a program determine the capacity setting of a z-box?

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.
[snip]

Walt Farrell wrote on 04/25/2016 08:02 PM:
> 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?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: BCPii (Was: can a program determine the capacity setting of a z-box?)

2016-04-26 Thread Jesse 1 Robinson
I have to agree that BCPii is an inappropriate answer to OP's question. We had 
to set it up years ago when we went to GDPS to manage our DR environment. We 
soon expanded its role to include all LPARs (except z/VM) on all CECs. I highly 
recommend BCPii , which is more powerful today than when we implemented it. But 
do consider fit for purpose. And yes, it requires some setup. 

.
.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-302-7535 Office
robin...@sce.com

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Ed Jaffe
Sent: Tuesday, April 26, 2016 7:58 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):BCPii (Was: can a program determine the capacity setting of 
a z-box?)

On 4/25/2016 5:20 PM, Pinnacle wrote:
> :-P   BCPii is fairly prevalent these days. 
> It's enabled everywhere I've been.

Now that we're talking about BCPii, despite it being a _totally, completely and 
thoroughly_ inappropriate solution to the OP's original question, I gotta 
wonder how prevalent is really is...

Many customer dumps I look at don't seem to have HWIBCPII running. I thought 
for sure we were running it here, but when I checked just now it wasn't up. 
After I issued the S HWISTART command, it came up and shut right back down. 
Looking at the messages, it appears we forgot to update the Support Element on 
our z13s with the community name, etc. necessary to enable this function. 
(Oops. :-[ ) Oh yeah, and I need to set up a slew of HWI security profiles in 
RACF with our new CPC serial number. 
Ugh. Another time...

Also, keep in mind that BCPii is an LPAR-only facility. You get the following 
messages if you dare try to start it on a z/OS system running as a z/VM guest:

HWI016I THE BCPII COMMUNICATION RECOVERY ENVIRONMENT IS 183 NOW ESTABLISHED.
HWI010I BCPII DOES NOT OPERATE ON A VM GUEST. BCPII INITIALIZATION 184 IS 
HALTED.
HWI006I BCPII ADDRESS SPACE HAS ENDED.

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: BCPii (Was: can a program determine the capacity setting of a z-box?)

2016-04-26 Thread John McKown
On Tue, Apr 26, 2016 at 9:58 AM, Ed Jaffe 
wrote:

> On 4/25/2016 5:20 PM, Pinnacle wrote:
>
>> :-P   BCPii is fairly prevalent these days. It's
>> enabled everywhere I've been.
>>
>
> Now that we're talking about BCPii, despite it being a _totally,
> completely and thoroughly_ inappropriate solution to the OP's original
> question, I gotta wonder how prevalent is really is...
>

​Not here. But we don't have any advanced stuff running. ​



>
> Many customer dumps I look at don't seem to have HWIBCPII running. I
> thought for sure we were running it here, but when I checked just now it
> wasn't up. After I issued the S HWISTART command, it came up and shut right
> back down. Looking at the messages, it appears we forgot to update the
> Support Element on our z13s with the community name, etc. necessary to
> enable this function. (Oops. :-[ ) Oh yeah, and I need to set up a slew of
> HWI security profiles in RACF with our new CPC serial number. Ugh. Another
> time...
>
> Also, keep in mind that BCPii is an LPAR-only facility. You get the
> following messages if you dare try to start it on a z/OS system running as
> a z/VM guest:
>
> HWI016I THE BCPII COMMUNICATION RECOVERY ENVIRONMENT IS 183
> NOW ESTABLISHED.
> HWI010I BCPII DOES NOT OPERATE ON A VM GUEST. BCPII INITIALIZATION 184
> IS HALTED.
> HWI006I BCPII ADDRESS SPACE HAS ENDED.
>
> --
> Edward E Jaffe
> Phoenix Software International, Inc
> 831 Parkview Drive North
> El Segundo, CA 90245
> http://www.phoenixsoftware.com/
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>



-- 
The unfacts, did we have them, are too imprecisely few to warrant our
certitude.

Maranatha! <><
John McKown

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


BCPii (Was: can a program determine the capacity setting of a z-box?)

2016-04-26 Thread Ed Jaffe

On 4/25/2016 5:20 PM, Pinnacle wrote:
:-P   BCPii is fairly prevalent these days. 
It's enabled everywhere I've been.


Now that we're talking about BCPii, despite it being a _totally, 
completely and thoroughly_ inappropriate solution to the OP's original 
question, I gotta wonder how prevalent is really is...


Many customer dumps I look at don't seem to have HWIBCPII running. I 
thought for sure we were running it here, but when I checked just now it 
wasn't up. After I issued the S HWISTART command, it came up and shut 
right back down. Looking at the messages, it appears we forgot to update 
the Support Element on our z13s with the community name, etc. necessary 
to enable this function. (Oops. :-[ ) Oh yeah, and I need to set up a 
slew of HWI security profiles in RACF with our new CPC serial number. 
Ugh. Another time...


Also, keep in mind that BCPii is an LPAR-only facility. You get the 
following messages if you dare try to start it on a z/OS system running 
as a z/VM guest:


HWI016I THE BCPII COMMUNICATION RECOVERY ENVIRONMENT IS 183
NOW ESTABLISHED.
HWI010I BCPII DOES NOT OPERATE ON A VM GUEST. BCPII INITIALIZATION 184
IS HALTED.
HWI006I BCPII ADDRESS SPACE HAS ENDED.

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/

--
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-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 upgrading 
to a higher capacity setting within the same box. Our product key 
processing does not currently catch that. Many, many years ago, I asked 
the VSE developers about querying the capacity setting and was told it 
was not possible. Now that time has passed, I figured it should be 
possible.


Now that I know how it can be extracted via the STSI instruction, I can 
either extract it myself or ask IBM VSE where they stored the output 
from the STSI instruction.


Thanks for the help. Now, I need to go play with STSI.

Tony Thigpen

John McKown wrote on 04/26/2016 09:11 AM:

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 software
key to validate either the capacity setting or max MSUs.



​I don't know if it would be of any help, but if you are doing "MSU based"
pricing, you might want to consider asking the customers for IBM's SCRT
report. CA does it this way.
http://www-03.ibm.com/systems/z/resources/swprice/subcap/scrt/​




I asked for information on IBM-MAIN because z/OS usually has more stuff
like this and once I knew where the data was, I could go back to my
supervisor listings and internal IBM contacts and ask for the location of
the same data in z/VSE.

Tony Thigpen






--
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-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 software
> key to validate either the capacity setting or max MSUs.
>

​I don't know if it would be of any help, but if you are doing "MSU based"
pricing, you might want to consider asking the customers for IBM's SCRT
report. CA does it this way.
http://www-03.ibm.com/systems/z/resources/swprice/subcap/scrt/​


>
> I asked for information on IBM-MAIN because z/OS usually has more stuff
> like this and once I knew where the data was, I could go back to my
> supervisor listings and internal IBM contacts and ask for the location of
> the same data in z/VSE.
>
> Tony Thigpen
>
>

-- 
"He must have a Teflon brain -- nothing sticks to it"
Phyllis Diller

Maranatha! <><
John McKown

--
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-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 capacity setting or max MSUs.


Before retiring I worked for several ISVs. The next to last one was 
relevant - they issued a license key based on CPU model, serial 
(allowing for multiple processor ids), and date. Most of our customers 
considered the software mission critical, and that caused problems. In 
one case their machine was down (flooded basement!), and they needed to 
run elsewhere; it wasn't during working hours, and they were extremely 
upset, so much so that they requested less onerous checking, which they 
got.


You might be better off bringing the "inaccurate" information problem to 
the attention of the CEO (not the CIO, whose idea this might have been), 
and explain that you have legal remedies. We found that top management 
tends to be very sensitive about bad publicity, especially for (from 
their point of view) small amounts.


Gerhard Postpischil
Bradford, VT

--
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-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 the sender. 

--
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-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 / Facebook IDs: MartinPacker

Blog: 
https://www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker

Podcast Series (With Marna Walle): 
https://developer.ibm.com/tv/category/mpt/



From:   Pinnacle 
To: IBM-MAIN@LISTSERV.UA.EDU
Date:   26/04/2016 01:20
Subject:Re: can a program determine the capacity setting of a 
z-box?
Sent by:IBM Mainframe Discussion List 



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 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 supervisor 
state. ​

 ​And that does not take in to account any PR/SM LPAR controls such 
as "hard
 capping" or "group capacity". I think you can get that sort of 
information
 on z/OS from SRM. But I don't know how to do that, off hand. It may 
require
 special authorization. ​Or you might be able to get it from RMF via 
the
 ERBSMF interface. About which I know nothing beyond its existence.


>>>
>>> You might want SYSEVENT QVS:
>>>
>>> 
http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieaa400/cqvs.htm?lang=en

>>>
>>
>> BCPii might be overkill, but should give you all the capacity info you
>> want for each LPAR on a CEC.
>>
>
> Besides being overkill, assuming this was something other than in-house 
usage,
> you can't count on the environment having BCPii configured.
>

z,

:-P   BCPii is fairly prevalent these days. 
It's enabled everywhere I've been.

Tom

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


--
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-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 the 100% resulted in 85% utilization or so and
meeting all goals.  They negotiated with the vendors so they could up
the model number but pay according to use.  They then licensed
everything in the one drawer (730 up from 710) and their usage went
down like 20%.  The cache usage went up, and associating one chip
cache with the same LPAR saved a lot on having to reload the cache.

So expect customers to want to license by the maximum 4 hour rolling
average value instead of the number of cpus active.

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 software key
> to validate either the capacity setting or max MSUs.
>
> I asked for information on IBM-MAIN because z/OS usually has more stuff like
> this and once I knew where the data was, I could go back to my supervisor
> listings and internal IBM contacts and ask for the location of the same data
> in z/VSE.
>
> Tony Thigpen
>
> Walt Farrell wrote on 04/25/2016 08:02 PM:
>>
>> 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?
>>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

--
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-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 information on IBM-MAIN because z/OS usually has more stuff 
like this and once I knew where the data was, I could go back to my 
supervisor listings and internal IBM contacts and ask for the location 
of the same data in z/VSE.


Tony Thigpen

Walt Farrell wrote on 04/25/2016 08:02 PM:

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?



--
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-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  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?



--
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-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 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 supervisor state. ​

​And that does not take in to account any PR/SM LPAR controls such as "hard
capping" or "group capacity". I think you can get that sort of information
on z/OS from SRM. But I don't know how to do that, off hand. It may require
special authorization. ​Or you might be able to get it from RMF via the
ERBSMF interface. About which I know nothing beyond its existence.




You might want SYSEVENT QVS:

http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieaa400/cqvs.htm?lang=en



BCPii might be overkill, but should give you all the capacity info you
want for each LPAR on a CEC.



Besides being overkill, assuming this was something other than in-house usage,
you can't count on the environment having BCPii configured.



z,

:-P   BCPii is fairly prevalent these days. 
It's enabled everywhere I've been.


Tom

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

--
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-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 program determine the capacity setting of a z-box?

I want to know if the box is an A01, M04, etc.

--
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-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 ambiguous, I read it as, how is the hardware 
configured, regardless to any WLM settings.

Al Nims
Systems Admin/Programmer 3
UFIT
University of Florida
(352) 273-1298

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Steve Beaver
Sent: Monday, April 25, 2016 7:03 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: can a program determine the capacity setting of a z-box?

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, April 25, 2016 3:27 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: can a program determine the capacity setting of a z-box?

#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, 
CPCSI_TYPE,CPCSI_MODEL) CPCSI_TYPE = 2818 CPCSI_MODEL = Q02

Al Nims
Systems Admin/Programmer 3
UFIT
University of Florida
(352) 273-1298

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tony Thigpen
Sent: Monday, April 25, 2016 1:54 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: can a program determine the capacity setting of a z-box?

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

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
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-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 Admin/Programmer 3
UFIT
University of Florida
(352) 273-1298

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Steve Beaver
Sent: Monday, April 25, 2016 7:03 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: can a program determine the capacity setting of a z-box?

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, April 25, 2016 3:27 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: can a program determine the capacity setting of a z-box?

#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, 
CPCSI_TYPE,CPCSI_MODEL) CPCSI_TYPE = 2818 CPCSI_MODEL = Q02 

Al Nims
Systems Admin/Programmer 3
UFIT
University of Florida
(352) 273-1298

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tony Thigpen
Sent: Monday, April 25, 2016 1:54 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: can a program determine the capacity setting of a z-box?

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

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
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-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, April 25, 2016 3:27 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: can a program determine the capacity setting of a z-box?

#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, 
CPCSI_TYPE,CPCSI_MODEL) CPCSI_TYPE = 2818 CPCSI_MODEL = Q02 

Al Nims
Systems Admin/Programmer 3
UFIT
University of Florida
(352) 273-1298

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tony Thigpen
Sent: Monday, April 25, 2016 1:54 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: can a program determine the capacity setting of a z-box?

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

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
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-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, CPCSI_TYPE,CPCSI_MODEL)
CPCSI_TYPE = 2818
CPCSI_MODEL = Q02 

Al Nims
Systems Admin/Programmer 3
UFIT
University of Florida
(352) 273-1298

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tony Thigpen
Sent: Monday, April 25, 2016 1:54 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: can a program determine the capacity setting of a z-box?

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

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
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-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:
>>>
 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 supervisor state. ​
>>>
>>> ​And that does not take in to account any PR/SM LPAR controls such as "hard
>>> capping" or "group capacity". I think you can get that sort of information
>>> on z/OS from SRM. But I don't know how to do that, off hand. It may require
>>> special authorization. ​Or you might be able to get it from RMF via the
>>> ERBSMF interface. About which I know nothing beyond its existence.
>>>
>>>
>>
>> You might want SYSEVENT QVS:
>>
>> http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieaa400/cqvs.htm?lang=en
>>
>
>BCPii might be overkill, but should give you all the capacity info you
>want for each LPAR on a CEC.
>

Besides being overkill, assuming this was something other than in-house usage, 
you can't count on the environment having BCPii configured.

Best regards,

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS
ITIL v3 Foundation Certified
mailto:m...@mzelden.com
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html
Systems Programming expert at http://search390.techtarget.com/ateExperts/
--
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-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, are we running on a A01 or a w04, etc. processor?
--
Tony Thigpen



​What OS? Hardware wise, there is STIDP. But it requires supervisor state. ​

​And that does not take in to account any PR/SM LPAR controls such as "hard
capping" or "group capacity". I think you can get that sort of information
on z/OS from SRM. But I don't know how to do that, off hand. It may require
special authorization. ​Or you might be able to get it from RMF via the
ERBSMF interface. About which I know nothing beyond its existence.




You might want SYSEVENT QVS:

http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieaa400/cqvs.htm?lang=en



BCPii might be overkill, but should give you all the capacity info you 
want for each LPAR on a CEC.


Regards,
Tom Conley

--
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-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 wise, there is STIDP. But it requires supervisor state.


STIDP does not have the capacity information. It has only LPAR number, 
last four digits of machine serial, and machine type.


The STSI instruction, CSRSI (the unauthorized wrapper around STSI), and 
SYSEVENT QVS all return this information.


--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/

--
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-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 Behalf 
Of Tony Thigpen
Sent: Monday, April 25, 2016 10:54 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: can a program determine the capacity setting of a z-box?

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?

--
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-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. processor?
>> --
>> Tony Thigpen
>>
>
>​What OS? Hardware wise, there is STIDP. But it requires supervisor state. ​
>
>​And that does not take in to account any PR/SM LPAR controls such as "hard
>capping" or "group capacity". I think you can get that sort of information
>on z/OS from SRM. But I don't know how to do that, off hand. It may require
>special authorization. ​Or you might be able to get it from RMF via the
>ERBSMF interface. About which I know nothing beyond its existence.
>
>

You might want SYSEVENT QVS:

http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieaa400/cqvs.htm?lang=en

Best regards,

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS
ITIL v3 Foundation Certified
mailto:m...@mzelden.com
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html
Systems Programming expert at http://search390.techtarget.com/ateExperts/
--
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-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 supervisor state. ​

​And that does not take in to account any PR/SM LPAR controls such as "hard
capping" or "group capacity". I think you can get that sort of information
on z/OS from SRM. But I don't know how to do that, off hand. It may require
special authorization. ​Or you might be able to get it from RMF via the
ERBSMF interface. About which I know nothing beyond its existence.


-- 
"He must have a Teflon brain -- nothing sticks to it"
Phyllis Diller

Maranatha! <><
John McKown

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


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

2016-04-25 Thread Tony Thigpen
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

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN