Parameter datatypes

“Datatypes for C method implementation functions” shows the datatypes displayed in EAServer Manager, the datatypes used by C components, and the argument modes. The left column contains the datatype name as it displays in EAServer Manager. The second and third columns contain the names of the corresponding C datatypes for input, inout, and output parameters.

If the EAServer Manager method definition returns a value other than ResultSet or ResultSets, an additional output parameter is added to the front of the implementation function’s parameter list. This additional parameter receives the “logical return code” for the method invocation, as described in “Logical method return values”.

Datatypes for C method implementation functions

EAServer Manager

Mode

C Datatype

boolean

input inout, output, return

CS_BIT CS_BIT *

byte (a single byte)

input inout, output. return

CS_BINARY CS_BINARY *

char (a single character)

input inout, output. return

CS_CHAR CS_CHAR *

float

input inout, output. return

CS_REAL CS_REAL *

double

input inout, output. return

CS_FLOAT CS_FLOAT *

integer<16>

input inout, output. return

CS_SMALLINT CS_SMALLINT *

integer<32>

input inout, output. return

CS_INT CS_INT *

integer<64>

input inout, output. return

CS_LONG CS_LONG *

binary

input inout, output. return

CS_BINARY_HOLDER * CS_BINARY_HOLDER *

string

input inout, output. return

CS_LONGCHAR_HOLDER * CS_LONGCHAR_HOLDER *

string<255>

input inout, output. return

CS_CHAR * CS_CHAR *

timestamp

input inout, output. return

CS_DATETIME CS_DATETIME *