Describes which COBOL data types correspond to available Service Interface data types, including Web Service and Java service interfaces.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
Table 1. Comp Fields
COBOL Data Item
|
Interface Field Default Type
|
Usage
|
Digits
|
Signed
|
Web Service
|
Java
|
comp fields other than comp-1 and comp-2
|
1-2
|
Yes
|
byte
|
byte
|
1-2
|
No
|
unsignedByte
|
byte
|
3-4
|
Yes
|
short
|
short
|
3-4
|
No
|
unsignedShort
|
short
|
5-9
|
Yes
|
int
|
int
|
5-9
|
No
|
unsignedInt
|
int
|
10-18
|
Yes
|
long
|
long
|
10-18
|
No
|
unsignedLong
|
long
|
19+
|
integer
|
BigInteger
|
comp-1
|
float
|
float
|
comp-2
|
double
|
double
|
Table 2. Display and External Float Fields
COBOL Data Item
|
Interface Field Default Type
|
Type
|
Decimal Digits
|
Web Service
|
Java
|
Display, External Float
|
0
|
integer
|
BigInteger
|
>0
|
decimal
|
BigDecimal
|
Table 3. Alphanumeric and Alphanumeric Edited Fields
COBOL Data Item
|
Interface Field Default Type
|
Type
|
Web Service
|
Java
|
Alphanumeric, Alphanumeric Edited
|
string
|
string
|
Table 4. Pointer and Index Fields
COBOL Data Item
|
Interface Field Default Type
|
Type
|
Web Service
|
Java
|
Pointer, Index
|
unsignedLong
|
long
|