On 10/29/2013 8:07 AM, Jorge Garcia wrote:
Hello:

  We want to add a new variable in our IEASYMxx. A new &SITE variable with  the 
last two positions cpc name. The problem is that the HWNAME variable doesn't exist 
in IEASYMxx and we couldn't obtain the last two positions of this variable. We have 
defined HWNAME in LOADxx.
The new configuration load with a set of members in a main site and with another 
set of members in a disaster recovery site (with different cpc name).  The last two 
positions of this member will be the &SITE variable.
Is possible obtain the cpc name in a variable in the IEASYMxx?

You can do something like the following:

SYSDEF
         SYMDEF(&SYSR2='&SYSR1(1:4).R2')
         SYMDEF(&SYSD1='&SYSR1(1:4).D1')
         SYMDEF(&SYSD2='&SYSR1(1:4).D2')
         SYMDEF(&SYSH1='&SYSR1(1:4).H1')
         SYMDEF(&SYSS1='&SYSR1(1:3).SMP')
         SYMDEF(&VER='&SYSR1(1:4)')
SYSDEF
   HWNAME(P00AC0DC)
         SYMDEF(&LOC='CS')
SYSDEF
   HWNAME(P00ED9C6)
         SYMDEF(&LOC='DAL')
SYSDEF
   LPARNAME(MVSA)
         SYMDEF(&CNMDOMN='TAM01')
SYSDEF
   LPARNAME(MVSD)
         SYMDEF(&CNMDOMN='TAM02')

--
Richard

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to