Tom, That "QUERY GATEWAY" is really slick. I like that even better than "QUERY IPLPARMS".
We keep unique CONFIG files on the PARM disks too. Jim -----Original Message----- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Kern Sent: Thursday, January 25, 2007 10:38 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: autolog profile exec logic I have multiple configuration files on my sysres for use in Standalone mode or at our hotsite, etc. I found that the System_Identifier entry in the system config file will set the GATEWAY name in CP. You can then use CP QUERY GATEWAY and look for the entry whose OWNER = SYSTEM. That GATEWAY name will correspond to the System_Identifier in the system config file that was used at IPL. This lets me have a name for production config on production hardware, production config on hotsite hardware, standalone config on production hardware, standalone config on hotsite hardware, etc. In OPERATOR and AUTOLOG1, a gateway name of 'SYSPROG' starts very little and a name of 'SA-SYSP' exits as fast as possible. In SA-SYS CONFIG on MAINT CF1 System_Identifier_Default SA-SYSP System_Identifier 2086 xxxxxx SYSPROG CP QUERY GATEWAY Gateway: U-AOSS Owning Userid: SYSTEM Gateway: DOEVM01 Owning Userid: AVS /Tom Kern On Thu, 25 Jan 2007 08:34:04 -0600, Mary Anne Link <[EMAIL PROTECTED]> wrote: >Does anyone have an autolog profile exec that contains some logic to >autolog different servers based on what system you are on? We are >trying to get to a point where we can quickly copy the res pack to >other systems, and, based on the system config fn specified on salipl, >ipl a copy of that res pack to bring up different systems. > >Ideally what I'm looking for is a command that will retrieve the system >name (which I can't seem to find) and then I can start different linux >guests based on that system name. > >Also, aside from system config, the tcpip files (which use system >name), the autologs, and having to keep all users in the user direct, >can anyone think of any snags in my plan? > >Thanks, >Mary Anne (A VM newbie) >======================================================================= = -------------------------------------------------------- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ --------------------------------------------------------