HPlogo 900 Series HP 3000 Computer Systems: MPE/iX Intrinsics Reference Manual > Chapter 4 Command Definitions

LOGSTATUS

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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:

ValueMeaning
0Successful
2Parameter out of bounds
4Incorrect index parameter
7Illegal capability; user logging (LG) or system supervisor (OP) capability required
14Invalid access

Related Information

Intrinsics

None

Commands

SHOWLOGSTATUS

Manuals

User Logging Programmer's Guide (32650-90027)

Feedback to webmaster