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

LOGINFO

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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:

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

itemnum

16-bit signed integer by value (optional)

Specifies which item value is to be returned. (Refer to Table 4-24 “LOGINFO Itemnum/Item Values”

item

array whose type varies (optional)

Returns the value of the item specified by the corresponding itemnum. Refer to Table 4-24 “LOGINFO Itemnum/Item Values”.

Table 4-24 LOGINFO Itemnum/Item Values

ItemnumMnemonicItem Description
1I32Total number of records written in current file
2I32Current file size
3I32Current file space left
4I16Number of users
5I32Total records written in whole file set
6CACurrent log file name
7I16

Current log file type:

0

DISK

1

TAPE

8CAPrevious log file name
9I16

Previous log file type:

0

DISK

1

TAPE

10U16CHANGELOG allowed (true/false)
11U16AUTO allowed (true/false)
12I16Current file sequence number
13I16

Log status:

0

INACTIVE

1

ACTIVE

2

Close pending

3

Stop pending

 

Related Information

Intrinsics

None

Commands

SHOWLOGSTATUS

Manuals

User Logging Programmer's Guide (32650-90027)

Feedback to webmaster