Describes which COBOL data types correspond to available Service Interface data types, including
Web Services, and .NET and Java 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
|
.NET
|
comp fields other than comp-1 and comp-2
|
1-2
|
Yes
|
byte
|
byte
|
SByte
|
1-2
|
No
|
unsignedByte
|
byte
|
Byte
|
3-4
|
Yes
|
short
|
short
|
Int16
|
3-4
|
No
|
unsignedShort
|
short
|
UInt16
|
5-9
|
Yes
|
int
|
int
|
Int32
|
5-9
|
No
|
unsignedInt
|
int
|
UInt32
|
10-18
|
Yes
|
long
|
long
|
Int64
|
10-18
|
No
|
unsignedLong
|
long
|
UInt64
|
19+
|
integer
|
BigInteger
|
Decimal
|
comp-1
|
float
|
float
|
Single
|
comp-2
|
double
|
double
|
Double
|
Table 2. Display and External Float Fields
COBOL Data Item
|
Interface Field Default Type
|
Type
|
Decimal Digits
|
Web Service
|
Java
|
.NET
|
Display, External Float
|
0
|
integer
|
BigInteger
|
Decimal
|
>0
|
decimal
|
BigDecimal
|
Decimal
|
Table 3. Alphanumeric and Alphanumeric Edited Fields
COBOL Data Item
|
Interface Field Default Type
|
Type
|
Web Service
|
Java
|
.NET
|
Alphanumeric, Alphanumeric Edited
|
string
|
string
|
string
|
Table 4. Pointer and Index Fields
COBOL Data Item
|
Interface Field Default Type
|
Type
|
Web Service
|
Java
|
.NET
|
Pointer, Index
|
unsignedLong
|
long
|
UInt64
|