MPE/iX Intrinsics Reference Manual (32650-90905)

Chapter 10 631
Command Definitions (QUIT-ZSIZE)
WHO
WHO
NM and CM callable.
Returns the access mode and attributes of the user calling the intrinsic.
Syntax
U16 I32 I32 CA
WHO(
mode,capability,localattr,username
,
CA CA CA U16
groupname,acctname,homename,term
);
Parameters
mode
16-bit unsigned integer by reference (optional)
Returns the current user's access mode. In this half word, the bits have the
following meanings:
Bits Value/Meaning
15:1 0 The job/session input file and job/session list file are not
interactive.
1 The job/session input file and job/session list file form an
interactive pair. A person responding through the input
device can establish a dialog with a program that displays
information on the list device.
14:1 0 The job/session input file and job/session list file are not
duplicative.
1 The job/session input file and job/session list file form a
duplicative pair. Images on the input device are duplicated
automatically on the list device.
12:1 00 Not used.
01 The user is accessing the system through a session.
10 The user is accessing the system through a job.
11 Not used.
0:12 Reserved for the operating system
capability
32-bit signed integer by reference (optional)
Returns the user's file access attributes, user attributes, and capability
class attributes if the appropriate bit = 1. The high-order half word
indicates file access attributes and user attributes; the low-order half word
indicates possession of capability-class attributes. The significance of these
bits is as follows: