MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 8 491
Command Definitions (HPMERGEEND-LOGSTATUS)
LOGINFO
LOGINFO
NM and CM callable.
Provides information about an opened user logging file (whole file set). User logging (LG)
or system supervisor (OP) capability is required.
Syntax
I32V I16 I16V *
LOGINFO (
index,logstatus
[,
itemnum,item
] [...];
NOTE
You can specify up to four
itemnum/item
pairs.
Parameters
index
32-bit signed integer by value (required)
Passes your access to the user logging system. This is the value returned
in the
index
parameter of the OPENLOG intrinsic.
logstatus
16-bit signed integer by reference (required)
Returns one of the following values, indicating the success/failure of the
intrinsic call:
Value Meaning
0
Successful
2 Parameter out of bounds
4 Incorrect
index
parameter
7 Illegal capability; user logging (LG) or system supervisor
(OP) capability required
14 Invalid access
17 Either
itemnum
or
item
missing
18 Invalid
itemnum
itemnum
16-bit signed integer by value (optional)
Specifies which
item
value is to be returned.
item
array whose type varies (optional)
Returns the value of the item specified by the corresponding
itemnum
.
Itemnum/
Mnemonic Item Description
1/I32 Total number of records written in current file