Previous Topic: What You Can DoNext Topic: Helpful Hints


How to Use CULLUS33

To invoke CULLUS33:

  1. Define the packed field that contains the value to be converted.
  2. Define a dummy buffer area or alphanumeric work field to receive the binary conversion.
  3. Issue a CALL to CULLUS33 from type 7 logic:
    Col
    2
    ▼
    RPT-nn7sss CALL US33 (field-name input-length-vn result-v result-length-vn)
    

The decimal value...

Results in the field size...

0 - 127

1 byte

-32,767 to +32,767

2 bytes

0 to +8,388,607

3 bytes

-2,147,483,647 to +2,147,483,647

4 bytes