LOGSTATUS [ MPE/iX Intrinsics Reference Manual ] MPE/iX 5.0 Documentation
MPE/iX Intrinsics Reference Manual
LOGSTATUS
NM and CM callable.
Provides information about a currently opened user logging file. User
logging (LG) or system supervisor (OP) capability is required.
Syntax
__________________________________________
| |
| I32 U16A I16 |
| LOGSTATUS(index,loginfo,logstatus);|
__________________________________________
Parameters
index 32-bit signed integer by reference (required)
Passes your access to the user logging system.
This is the value returned in the index parameter
of the OPENLOG intrinsic.
loginfo 16-bit unsigned integer array (required)
Returns the following information:
* The total records written in current logging
file (a 32-bit value in elements 0 and 1 of
loginfo).
* The size, in records, of the current logging
file (a 32-bit value in elements 2 and 3 of
loginfo).
* The space, in records, remaining in the
current logging file (a 32-bit value in
elements 4 and 5 of loginfo).
* The number of users using the logging file
(a 16-bit value in element 6 of loginfo).
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
Related Information
Intrinsics None
Commands SHOWLOGSTATUS
Manuals User Logging Programmer's Guide (32650-90027)
MPE/iX 5.0 Documentation