Are your LPARs related to other things such that you could then take advantage of Symbol substring? http://www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieae200/usesubs.htm
On Sat, Jan 30, 2016 at 10:47 AM, Skip Robinson <[email protected]> wrote: > For the first time in ages we are in the process of enhancing our inventory > of user defined system symbols (IEASYMxx). I jumped out half-cocked and > attempted to set a symbol equal to the name of the current LPAR. That > sounds > easy, but I cannot find an simple way to do it. Even pored over the V2R1 > doc, which looks much as I remember it from 1995. > > > > There are three names that can be used in SYSDEF statements: HWNAME, > LPARNAME, and VMUSERID. However, these are available only for 'filtering'. > That is, I can do something like > > > > SYSDEF LPARNAME(LPARSKIP) /* If LPAR name is this */ > > SYMDEF(&USRLPARN='LPARSKIP') /* Then set user symbol to this */ > > > > The problem is that I have to have a separate pair of statements for every > LPAR in the Enterprise. If a new LPAR gets created, I have to clone a new > pair of statements. > > > > What I would like is to be able to set &USRLPARN directly to the name of > the > current LPAR whatever it is. One statement that would serve everywhere and > never need cloning. Am I missing something obvious? > > > > > > > > . > > . > > . > > J.O.Skip Robinson > Southern California Edison Company > Electric Dragon Team Paddler > SHARE MVS Program Co-Manager > 323-715-0595 Mobile > <mailto:[email protected]> [email protected] > > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
