Determining equivalent Java and PL/I data types
When you communicate with Java™ from PL/I, you need to match the data types between the two programming languages.
This table shows Java primitive types and their PL/I 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 |