Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Obtaining Domain name from storage

1 view
Skip to first unread message

John O'Donnell

unread,
Apr 26, 1996, 3:00:00 AM4/26/96
to

Does anyone now where in storage I can find the domain (logical
partition) name I am running in on an Amdahl 5665. Alternatively can
you point me in the right direction within the data areas manuals.
cheers,
J.O'D.


Kelvin Kloehn

unread,
Apr 29, 1996, 3:00:00 AM4/29/96
to

Here is a piece of REXX code that I use for finding which lpar I am running in
under MVS. I not sure it is what you are looking for, but here it is..
/*******************************************************************/
/* WHAT SYSTEM IS THIS EXEC RUNNING ON ? */
CVTADD = STORAGE(10,4) /* ADDRESS OF CVT */
DECADD = C2D(CVTADD) /* CONVERT TO DEC */
DECADD = DECADD + 340 /* ADD OFFSET TO SYSID */
HEXADD = D2X(DECADD) /* CONVERT OT HEX */
SYSID = STORAGE(HEXADD,4) /* GET CONTENTS AT ADDRESS */
/*******************************************************************/

Kelvin Kloehn
Technical Support - Storage Systems
(214)216-3206 - kklo...@tuelectric.com

Gilbert Saint-flour

unread,
Apr 29, 1996, 3:00:00 AM4/29/96
to

In <4lrjdt$h...@zeus.tcp.co.uk>, jod...@tcp.co.uk (John O'Donnell) writes:

>Does anyone now where in storage I can find the domain (logical
>partition) name I am running in on an Amdahl 5665.

MVS itself doesn't know much about PR/SM partitions or MDF domains,
as far as I know. In the PR/SM world, you can issue a diagnose
instruction to get config information (partitions, weights, etc).
I think RMF does it several times a minute and writes the data
to SMF. Look at the RMF macros that map its SMF records,
you'll find mention of what diag code it uses.

The PR/SM config data is kept in storage by RMF and you can use it
if you know where it is. TASID finds this information (I don't know
how but you may try to ask its author). So does SHOWMVS, a program
you can find on the CBT tape, Compuserve (IBMHW) or NASCOM.

Also, in the CSD (macro IHACSD, addr in CVTCSD),
there is a PR/SM flag and the PR/SM partition number.

But all of this is for PR/SM, not MDF. So it may not be very helpful.
Sorry.

0 new messages