× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Barbara,

Thank you for correcting that. I assumend 2B to be equivalent to 3I, but
of course binary fields where much older than that :-)

Joep Beckeringh
Systeemontwerper
Pantheon Automatisering B.V.


Barbara Morris <bmorris@xxxxxxxxxx>

19-01-2017 00:32

Re: Processing a List from a command

On 2017-01-18 5:22 AM,
j.beckeringh@xxxxxxxxxxxxxxxxxxxxxxxxxx
wrote:
...
As Buck already told you, don't use '2B 0'. That would be a binary
field
of 2 digits, which translates to 1 byte. ...

2B uses 2 bytes. Binary with 1-4 digits is 2 bytes, and with 5-9 digits
is 4 bytes. It's only RPG's integer (I) and unsigned integer types (U)
that can have 1 byte.

So 2B is still the required 2-byte binary, but it can only hold values
up to 99, which might not work if the code is copied for some other
command.

--
Barbara

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.