On 4 December 2016 at 15:18, Ed Jaffe <[email protected]> wrote: > > How does one locate the ACF2 LID control block associated with a given user's > ACEE in a > MUSASS (Multiuser Single Address Space System)? Specifically, I'd like to > find the LID > associated with the ACEE pointed to by TCBSENV or -- even better -- with any > arbitrary > ACEE address.
It's been some years, and I understand there have been some changes to the way some aspects of MUSASS work, but this is what I remember. I'm not sure that it's possible in the general case. The MUSASS is responsible for keeping track of the ACUCBs it builds for its users, and unless you know the control blocks of the MUSASS progam you may be out of luck. But... > The following code I was given works fine in a single user address space like > TSO, but > finds the LID of the server itself (whose ACEE is pointed to by ASXBSENV) > when running > in a MUSASS: > > ACFGUCB Rx,NONE=not_found > USING ACUCB,Rx > ICM Ry,15,ACULRECP > JZ not_found > USING LIDREC,Ry ACFGUCB has a hard-coded reference to ASXBSENV, so that's not surprising. It sounds as though you are in a MUSASS where a SAF environment is in use, i.e. a MUSASS not written specifically for ACF2, and so the MUSASS creates ACEEs and manages them rather than ACUCBs. In general ACF2 keeps the ACUCB pointer in ACEEIEP, so you could start there. (I don't know if there's a way to tell it to use a different ACEE field, but I suspect not.) But ACEEIEP can be, and indeed is likely to be, a pointer to a "mini" ACUCB - an ACMCB, and I'm not sure that has a LIDREC pointer. > I don't have access to these macros to know if there are additional > parameters. Any > assistance is highly appreciated... You can write them but not see them...? Sort of like execute-only. :-) Tony H. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
