ISeries / AS400 FAQ : Programming : RPG : What does BINARY(4) mean in API documentation?

BINARY(4) means a 4-byte binary number. In RPG III, this means a subfield of a data structure that is defined with 4 bytes, and has the 'B' type. In RPG IV, there are two kinds of 4-byte binary number: the 10-digit integer or the 9-digit binary.

The 10-digit integer is better when dealing with APIs. If you define an integer or binary number using length notation (no from-position), you give the number of digits. 10I-0 or 9B-0.

A very common error is to define a BINARY(4) field or parameter using length notation as 4B-0. This always causes problems calling the API. More.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions