Hitachi

JP1 Version 11 JP1/Performance Management - Agent Option for Service Response Description, User's Guide and Reference


List of data types

The table below lists the data types for field values and the corresponding C and C++ data types. The values shown in the Format column of the record field tables are those shown below in the Field column under Data type.

Table 10‒5: List of data types

Data type

Size

(bytes)

Description

Field

C and C++

char(n)

char( )

Number inside ( )

Character data (0x20 to 0x7e) Character string having a length of n bytes

double

double

8

Numeric value (1.7E±308 (15 digits))

float

float

4

Numeric value (3.4E±38 (7 digits))

long

long

4

Numeric value (-2,147,483,648 to 2,147,483,647)

short

short

2

Numeric value (-32,768 to 32,767)

string(n)

char[ ]

Value in parentheses

Character string with a length of n bytes. The last character is null.

time_t

unsigned long

4

Numeric value (0 to 4,294,967,295)

timeval

Structure

8

Numeric value (first 4 bytes are seconds, next 4 bytes are microseconds)

ulong

unsigned long

4

Numeric value (0 to 4,294,967,295)

utime

Structure

8

Numeric value (first 4 bytes are seconds, next 4 bytes are microseconds)

word

unsigned short

2

Numeric value (0 to 65,535)

(Not applicable)

unsigned char

1

Numeric value (0 to 255)