Hi! Looking at messages CNZ4105I/CNZ4106I from an MVS DISPLAY ACTIVE command, there is a tally of different address space types in the header:
JOBS M/S TS USERS SYSAS INITS ACTIVE/MAX VTAM OAS xxxxx xxxxx xxxxx xxxxx xxxxx xxxxx/xxxxx xxxxx NetView has a RECEDATA function that "Provides information about the origin of a command that was transferred to the NetView environment by using a NETVONLY action in a Command Revision Table", that includes "ASTYPE", that would return one of the following: Value Description D USS persistent procedure. The address space has a name for initiated programs, appropriate for a JOB. However, the existence of an OpenMVS address space block indicates a special purpose USS persistent procedure. J The address space is a JOB. N The address space is a system address space started during operating system initialization (NIP) processing. S The address space is a Started Task (STC). T The address space is a Time-Sharing User (TSO). U The address space is a USS forked or spawned procedure. * Error: the address space where the command originated has closed or else the message is not from the local LPAR. ? Error: inconsistent data (might be a transient condition). ! Error: inconsistent data. > Error: the supplied ASID is larger than the allowed ASID limit for the system With the DISPLAY ACTIVE command knowing how many of each type there is, and the RECEDATA function knowing the type of address space that just issued a command, there seems to be an indicator to provide that kind of information. What I am curious about, and would like to make use of, is where the address space "type" can be found, given only a job name or ASID? For example, the ISG343I results of D GRS,RES=(SYSDSN,<some dataset>) can identify the following: SYSNAME JOBNAME ASID TCBADDR EXC/SHR OWN/WAIT If I wanted to know that the JOBNAME was a TSO user, a USS process, STC, or a batch job, is it possible to definitively find out? I was looking at ASCBJBNI and ASCBJBNS, but it seems there is still ambiguity. I'm not sure if I could tell the difference between a TSO user and a Started task just from ASCBJBNS. Where else can I look? Thanks in advance for any pointers! ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
