Then see if anything changes.

A {4B 0} field is not a Binary(4). It is a kind of binary field that allows a maximum of {4} digits and provides a way for RPG to handle decimal fractions in binary fields. The maximum value that can be stored in {4B 0} is 9999 because that’s the largest 4-digit value.

The “4″ refers to number of digits in a RPG ‘B’ field.

The RPG storage representation of {4B 0} is essentially a 16-bit integer field — two bytes. The API requires 32-bit integer fields — four bytes.

Tom

]]>D MESSAGEID 9 15

Now I recieve message

EVAL ERRORDS

BYTESPROV OF ERRORDS = 000000116.

BYTESAVAL OF ERRORDS = 000000015.

MESSAGEID OF ERRORDS = ‘CPF24B4′

ERR### OF ERRORDS = ’0′

MESSAGEDTA OF ERRORDS =