× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.

ours is set that way, and the help text outlines the way it works.

sysname = lpar1
lclcpname = lpar1
lclnetid = APPN

sysname = lpar1
lclcpname = lpar1ha
lclnetid = APPN

Relational Database Entry is where it gets "fun"

RDB = lpar1
rmtlocation - lpar1 using *IP

RDB = lpar1
rdb alias = lpar1ha
rmtlocation = lpar1ha using *IP

in brms "change network group"
rmtlcllocname = dspneta(lclcpname)
rmtnetid = dspneta(lclnetid)

this setup works for us, it does not answer Rob's question, and it seems as though he may have to "roll your own" based on how the environment is setup.

quick thought, the data area QUSRBRM/Q1ABRMSYS is set via:

<ramble mode = off>

Jim Oberholtzer wrote on 8/11/2022 9:52 AM:

In the HA environment even the local control point could be different due
to the way HA is generally set up.

I always use serial numbers for these types of look ups. for instance:

get serial number from system values

get data area that says am I HA or Production and the system name (although
recently I've started using user spaces for that, much harder for the end
user to mess up)

Make a decision on what to do next based on those two criteria.

Some of the HA software vendors also have a way to inquire about what role
the system is in, so we will add that where we can. Unfortunately there
is not a consistent way to determine that.

Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects

On Thu, Aug 11, 2022 at 9:44 AM Bryan Dietz <bdietz400@xxxxxxxxx> wrote:

not sure if the help text for the field sheds any light on it.

Specifies that the system is the local system. BRMS uses the
default local location name, LCLLOCNAME and not the system name
SYSNAME. In most cases, the systems have the same value
specified in the LCLLOCNAME and in the SYSNAME. You can use the
DSPNETA command to view the system network attributes.

Rob Berendt wrote on 8/11/2022 8:09 AM:
Is there a BRMS Service to determine the system name? Basically what I
am looking for is when you do WRKMEDBRM SYSNAME(*LCL) and it returns the
media used by the local system. IDK if there's a function to return the
local system name so I can do something like:

Select *
where owning_system = qusrbrm.lcl()


In case you're wondering DSPNETA / RTVNETA are only close. It can be
different. Especially for those of us running software H/A.

Rob Berendt
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818


-- .
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2023 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.