MPE/iX Intrinsics Reference Manual (32650-90875)
300 Chapter6
Command Definitions (FLUSHLOG-GETUSERMODE)
GETINFO
the length of the information string returned in
infostring
or the
original value of
infolength
.
NOTE
Specify a value at least as large as the length of the information string
supplied at process creation time. If
infolength
is too small, the information
string is truncated upon return to
infostring
.
Infostring
and
infolength
must be specified as a pair.
parm 16-bit signed integer by reference (optional)
Returns a value passed to the calling process at process creation time by
one of the following sources:
• The
parm
parameter of the RUN command.
• The item associated with
itemnum
2 of the CREATEPROCESS intrinsic.
• The
param
parameter of the CREATE intrinsic.
A zero is returned if none of the above are used to pass a value.
Operation Notes
Returns user-supplied information to the calling process from one of the following sources:
• If the process was created with the RUN command, the contents of the
info
and
parm
parameters can be retrieved.
• If the process was created with the CREATEPROCESS intrinsic, retrieve the items
associated with
itemnum
s 11 and 2.
• If the process was created with the CREATE intrinsic, retrieve the contents of the
param
parameter.
Related Information
Manuals Process Management Programmer's Guide