On Thu, 18 May 2006 09:48:10 -0400 Alan Altmark said: >On Thursday, 05/18/2006 at 09:41 ZE2, "Westlund, Mats (Mainframe servers)" ><[EMAIL PROTECTED]> wrote: >> Is there any command or instruction that a worker machine can use to >> obtain >> the userid that it has been assigned by the set alternate user ( diagd4) >> >> The question is "who do I work for"? > >No, though a nice little home-grown diagnose could retrieve it from >VMDALTID in the VMDBK. That and the AUTOLOGged-by user would be good >additions to diag 0x260. I'll see what I can do. (Kris' LCLQRY is a good >start in the meantime.) > >[There is a kludge: you can create a spool file and look at the >ORIGIN...it will have the alternate id. Eeeewwwww.] >
Another would be to create a lock on an SFS access directory, and then query the lock create lock profile exec a share session query lock profile exec a will return Directory = <fp:fs.> Filename Filetype Fm Type Userid Lock Duration PROFILE EXEC A1 BASE <altuser>SHARE SESSION where fp is the filepool, fs is the filesystem and altuser is the D4 user There are other SFS tricks, like accessing a dircontrol directory and looking at the accessors, etc. >Alan Altmark >z/VM Development >IBM Endicott /ahw
