18.13.2 Connected user data file and connected user details file

If an attempt is made to terminate HiRDB while a user is still connected, HiRDB outputs the KFPS05120-W message, together with the connected user data file ($PDDIR/spool/cnctusrinf) and the connected user details file ($PDDIR/spool/cnctusrdtl). For a HiRDB/Parallel Server, these files are output to the server machine where the system manager is located. The HiRDB administrator can identify the connected users from the information in these files.

Organization of this subsection
(1) Information output in the connected user data file
(2) Information output in the connected user details file

(1) Information output in the connected user data file

Output example

UNIT ID : M350(173420)
UID  PID    GID   SVID  TIME    PROGRAM   C-GRP  C-PID  C-IP
334  22118  300   fes1  173330  uap00     PC     22205  172.17.32.37

UNIT ID : M35b(173427)
UID  PID    GID   SVID  TIME    PROGRAM   C-GRP  C-PID  C-IP
334  17524  300   fes2  173343  uap01     PC     17619  172.17.32.39
334  17533  300   fes2  173333  uap02     PC     22200  172.17.32.37

Explanation
UNIT ID
Displays the connected users data file unit identifier and creation time (hour minute second).
UID
Displays the user ID of each user who is connected to HiRDB.
PID
Displays the process ID of each connected user's HiRDB server process.
GID
Displays the group ID of each user who is connected to HiRDB.
SVID
Displays the server ID of the server to which each connected user is connected.
Blanks may be displayed immediately after HiRDB server process activation.
TIME
Displays the time (hour minute second) at which HiRDB received each service request. 999999 is displayed for a server where no user is connected.
PROGRAM
Displays the value specified in the PDCLTAPNAME operand of the client environment definition.
If this operand is omitted, Unknown is displayed. For details on the PDCLTAPNAME operand, see the manual HiRDB Version 8 UAP Development Guide.
  • ****** is displayed for a utility.
  • For a UAP that accesses HiRDB using the distributed database facility, RDAUSER - authorization-identifier is displayed.
  • ****** may be displayed immediately after HiRDB server process activation.
C-GRP
Displays the user type (client group type) of each user who is connected to HiRDB.
If the connection frame guarantee facility for a client group is used and a client group selected arbitrarily by the user is defined, the user-defined client group name is displayed.
Displayed character stringUser type
XAUser who connected to HiRDB using the X/Open XA interface
DFUser who connected to HiRDB from a distributed client
PCUser who connected to HiRDB from a PC client
WSUser who connected to HiRDB from a WS client
MFUser who connected to HiRDB from a mainframe client (VOS3 client, etc.)
C-PID
Displays the process ID of the client that is connected to HiRDB.
C-IP
Displays the IP address of the client that is connected to HiRDB.
Note
C-GRP, C-PID, and C-IP are not displayed in the following cases:
  • The UAP or utility was not executed by a client (it was executed by HiRDB).
  • The version of the client to which the UAP is linked is older than HiRDB Version 4.0 04-00.

(2) Information output in the connected user details file

The execution results of the following commands are output to the connected user details file:

For details about the execution results of each command, see the manual HiRDB Version 8 Command Reference.