Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

Determining equivalent Java and PL/I data types

When you communicate with Java from PL/I you will need to match the data types between the two programming languages. This table shows Java primitive types and their PL/I equivalents:

Table 32. Java Primitive Types and PL/I Native Equivalents
Java Type PL/I Type Size in Bits
boolean jboolean 8, unsigned
byte jbyte 8
char jchar 16, unsigned
short jshort 16
int jint 32
long jlong 64
float jfloat 21
double jdouble 53
void jvoid n/a

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)