I think you need to be in an APPC conversation before trying to get the var.
Manual states MVSVAR("SYSAPPCLU") is obtained from the ATBEXAI APPC function
and, if I'm not wrong, you need to be APPC connected (ATBALLC function) before
issuing the call.
On the other side, if you need the info outside of an APPC conversation you
could code a console interface to capture the D APPC,LU,LIST command and, based
on a kind of standard if it makes sense, you could extract the info you need.
Unfortunately the attribute BASE=YES is not used only from MVS base LU (IMS for
instance).
I hope this can helps.
Best regards.
-----Messaggio originale-----
Da: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] Per conto di Rich
Tabor
Inviato: giovedì 17 agosto 2006 21.41
A: [email protected]
Oggetto: APPC/MVS System Base LU
Are there any control blocks or services an application written in assembler
can use to determine the system's base LU for APPC/MVS? I'
have tried the REXX MVSVAR(SYSAPPCLU) function but only get spaces returned.
Some sample execs on CBT have the use of MVSVAR(SYSAPPCLU) coded but also
commented out which leads me to believe the function doesn't really work for
this variable.
TIA,
Rich
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at
http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html