On Friday, 01/26/2007 at 11:26 EST, Richard Corak <[EMAIL PROTECTED]> 
wrote:
 
> CP QUERY GATEWAY may give some system name somehow.  Not familiar
> with all that GATEWAY implies.

The GATEWAY and system identifer may be different.  The system gateway (if 
it hasn't been disabled in SYSTEM CONFIG) will default to the same name as 
the system id.  The gateway name is how this system will be known to 
*other* systems in an ISFC-based Collection.  This is the name used in 
APPCVM CONNECT "local LU names" and in IUCV CONNECT.
 
> CMS IDENTIFY says how CMS maps virtual CPU ID through SYSTEM NETID
> file.  This gives some system name, but maybe not the one you want.

Or, if you use a comment-only SYSTEM NETID, then the *node* id will 
default to the *system* id.

> CP QUERY USERID gives the system name as set by the contents of SYSTEM 
CONFIG.

Amen.  This is the command to use.
 
> How an application like TCP determines its version of system name may
> dictate how you determine system name.

The resolver uses the value from IDENTIFY to rummage through TCPIP DATA. 
If there is no matching/default HOSTNAME entry, then HOSTNAME is set to 
the node name from IDENTIFY.  If anyone is saying "So what?" imagine what 
would happen if you set your hostname to "[EMAIL PROTECTED]".  So, hey, let's 
be 
careful out there....

Alan Altmark
z/VM Development
IBM Endicott

Reply via email to