ca.portal.admin

Re:Re: [IDMSVENDOR-L] Retrieve lpar name from ADS dialog

Discussion created by ca.portal.admin on Jun 13, 2008
since i feel in a ""creative"" mood today - here is a solution that
requires NO assembler coding

1) create a new segment/area/schema/record/ssc called LPAR - one
area/one record type: LPAR/ 1 column:LPAR-NAME x(04)

2) include the segment in all IDMS environments (in read-only mode)

3) name the dataset something that conforms to your standards but has
the LPAR name as a standalone NODE (IDMS.PROD.LPAR1.NAME)

4) create clones of the dataset (1 for each additional LPAR) each with
the LPAR name in place of the 1st dataset(IDMS.PROD.LPAR2.NAME,
IDMS.PROD.LPAR3.NAME, etc)

4) then in the startup proc or jcl - hard code the DD for this file only
with &SYSNAME in place of the node that contains the LPAR name (LPARINFO
DD DSN=3DIDMS.PROD.&SYSNAME..NAME)

now - as a onetime seed - once in each LPAR - update the LPAR record
record type to populate the 1 record occurance with the correct LPAR
name (so each clone Dataset will have a different value within)


now --- write a a cobol (ADS?) startup task to read the database and put
the LPAR name in storage somewhere or in a perm queue


then - anytime you wish to determine the LPAR name - read the storage or
the queue


wow - now THAT was a waste of time .....


Chris Hoelscher
Senior IDMS & DB2 Database Administrator Humana Inc
502-476-2538
choelscher@humana.com



The information transmitted is intended only for the person or entity to
which it is addressed and may contain CONFIDENTIAL material. If you
receive this material/information in error, please contact the sender
and delete or destroy the material/information.


The information transmitted is intended only for the person or entity to
which it is addressed and may contain CONFIDENTIAL material. If you
receive this material/information in error, please contact the sender
and delete or destroy the material/information.
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: Retrieve lpar name from ADS dialog
"I would suggest changing the CV and/or SYSTEM numbers.
=A0
At some point in the future you may need to run them all on the same =
LPAR.......
=A0
Cheers
Martin
=A0
=A0

_____ =20

From: IDMS Public Discussion Forum on behalf of Kongelf Hans Olav
Sent: Fri 13/06/2008 08:11
To: IDMS-L@LISTSERV.IUASSN.COM
Subject: Retrieve lpar name from ADS dialog



Hello list,

We have three CVs with the same CV number running on three different
lpars.=A0 In an ADS dialog we want to test which lpar the CV is running
on.

Is there a way to retrieve the lpar name from an ADS dialog?
Alternatively can this be done from an assembler program?

Thanks for any help!

Hans Olav Kongelf
EDB Business Partner AS
Oslo, Norway



=A0
=A0
=A0
=A0
Thomson Financial Limited, a Thomson Reuters company, is a company =
incorporated under the laws of England and Wales (registered number =
2012235) having its registered office and address for service at Aldgate =
House, 33 Aldgate High Street, London, EC3N 1DL, UK.
This e-mail is for the sole use of the intended recipient and contains =
information that may be privileged and/or confidential. If you are not =
an intended recipient, please notify the sender by return e-mail and =
delete this e-mail and any attachments.
"
IDMS 3rd-party providers forum
IDMSVENDOR-L@LISTSERV.IUASSN.COM
SMTP
IDMSVENDOR-L@LISTSERV.IUASSN.COM
IDMSVENDOR-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: Retrieve lpar name from ADS dialog
"I would suggest changing the CV and/or SYSTEM numbers.
 
At some point in the future you may need to run them all on the same LPAR.......
 
Cheers
Martin
 
 

_____

From: IDMS Public Discussion Forum on behalf of Kongelf Hans Olav
Sent: Fri 13/06/2008 08:11
To: IDMS-L@LISTSERV.IUASSN.COM
Subject: Retrieve lpar name from ADS dialog



Hello list,

We have three CVs with the same CV number running on three different
lpars.  In an ADS dialog we want to test which lpar the CV is running
on.

Is there a way to retrieve the lpar name from an ADS dialog?
Alternatively can this be done from an assembler program?

Thanks for any help!

Hans Olav Kongelf
EDB Business Partner AS
Oslo, Norway



 
 
 
 
Thomson Financial Limited, a Thomson Reuters company, is a company incorporated under the laws of England and Wales (registered number 2012235) having its registered office and address for service at Aldgate House, 33 Aldgate High Street, London, EC3N 1DL, UK.
This e-mail is for the sole use of the intended recipient and contains information that may be privileged and/or confidential. If you are not an intended recipient, please notify the sender by return e-mail and delete this e-mail and any attachments.
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: Retrieve lpar name from ADS dialog
"Chris

The program mentions being called by DBAUISID which is invoked by task
SYSID. If I read everything right then I should be able to add DBAUSID
and define it in the SYSGEN as shown and link to it or should it be
invoke it from an ADS dialog passing a work record with the 4 fields
described?

Thanks

Chris Wood
Alberta Department of Energy
CANADA

Outcomes