Describes which COBOL data types correspond to available Service Interface data types, including
SOAP and JSON
Web Services, and .NET and Java Interfaces.
Table 1. Comp Fields
| COBOL Data Item
|
Interface Field Default Type
|
| Usage
|
Digits
|
Signed
|
SOAP Web Service
|
JSON Web Service
|
Java Interface
|
.NET Interface
|
| comp fields other than comp-1 and comp-2
|
1-2
|
Yes
|
byte
|
Integer
|
byte
|
SByte
|
| 1-2
|
No
|
unsignedByte
|
Integer
|
byte
|
Byte
|
| 3-4
|
Yes
|
short
|
Integer
|
short
|
Int16
|
| 3-4
|
No
|
unsignedShort
|
Integer
|
short
|
UInt16
|
| 5-9
|
Yes
|
int
|
Integer
|
int
|
Int32
|
| 5-9
|
No
|
unsignedInt
|
Integer
|
int
|
UInt32
|
| 10-18
|
Yes
|
long
|
Integer
|
long
|
Int64
|
| 10-18
|
No
|
unsignedLong
|
Integer
|
long
|
UInt64
|
| 19+
|
integer
|
Integer
|
BigInteger
|
Decimal
|
| comp-1
|
float
|
Number
|
float
|
Single
|
| comp-2
|
double
|
Number
|
double
|
Double
|
Table 2. Display and External Float Fields
| COBOL Data Item
|
Interface Field Default Type
|
| Type
|
Decimal Digits
|
SOAP Web Service
|
Java Interface
|
.NET Interface
|
| Display, External Float
|
0
|
integer
|
BigInteger
|
Decimal
|
| >0
|
decimal
|
BigDecimal
|
Decimal
|
Table 3. Alphanumeric, Alphanumeric Edited, and Numeric Fields
| COBOL Data Item
|
Interface Field Default Type
|
| Type
|
SOAP Web Service
|
JSON Web Service
|
Java Interface
|
.NET Interface
|
| Alphanumeric
|
string
|
string
|
string
|
string
|
| Alphanumeric Edited
|
string
|
string
|
string
|
string
|
| Numeric
|
|
number
|
|
|
| Other numeric; usage display
|
|
integer
|
|
|
| Other non-numeric
|
|
string
|
|
|
Table 4. Pointer and Index Fields
| COBOL Data Item
|
Interface Field Default Type
|
| Type
|
SOAP Web Service
|
JSON Web Service
|
Java Interface
|
.NET Interface
|
| Pointer, Index
|
unsignedLong
|
integer
|
long
|
string
|