Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-79
PROCESS_GETINFOLIST_ Procedure
Using the Loadfile Type Code Values
The type code value returned is one of the values 0 through 8 plus other values as
appropriate. Thus, for example, a DLL dynamically loaded into an OSS process would
have a type code value of 28936, broken down as follows:
28936 = 0x7108
= 8 (DLL)
+ 256 (ordinary library)
+ 4096 (dynamically loaded)
+ 8192 (loaded in OSS process)
+ 16384 (OK to debug)
Attribute Codes and Value Representations
Each attribute code is contained in a 16-bit word defined as follows:
For attributes with no auxiliary data, the data length is 0.
The individual attribute codes and their associated value representations are shown in
Table 12-2
. The attribute codes are defined symbolically in ZSYSDDL. For example,
see section
process_itemcodes in ZSYSC or PROCESS^ITEMCODES in ZSYSTAL.
(Comments in these files refer to the attribute codes as “item codes”.) These files are
distributed in an installation subvolume named ZSYSDEFS.
low-order 12 bits contains the attribute index
high-order 4 bits contains the length, in 16-bit words, of any auxiliary data
Table 12-2. PROCESS_GETINFOLIST_ Attribute Codes and Value
Representations (page 1 of 5)
Code Attribute TAL Value Representation
1*+ creator access ID INT
2*+ process access ID INT
3+^ maximum priority (search only) INT
4*+ Guardian program file INT bytelength, STRING
5*+ home terminal INT bytelength, STRING
6*+ gmom’s process handle INT (10 words)
7*+ jobid INT
8+ process subtype INT
9+^ minimum priority (search only) INT
10+ process state INT
* indicates that this attribute is also a parameter of PROCESS_GETINFO_
+ indicates that this attribute can be used as search attributes
& indicates that this attribute applies only to OSS processes
^ indicates that this attribute cannot be specified as a return attribute
@
indicates that this attribute requires auxiliary data.The data lengthn in the high-order 4 bits is shown as n<<12