![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS/ACCESS Interface To ADABAS: Reference |
The following summary information will help you understand the data conversion.
| ADABAS Type | Description | Standard Length in Bytes | SAS Format and Informat |
|---|---|---|---|
| A | alphanumeric | <=200 | $ADBLEN. |
| >200 | $200 | ||
| B | binary | < = 4 | (2 x ADBLEN) + 1 |
| (unsigned) | > 4 and < =8 | (2 x ADBLEN). | |
| > 8 and < =100 | $HEX(2 x ADBLEN) . | ||
| > 100 | $HEX200. | ||
| F | fixed (signed) |
|
8. |
| G | floating point (signed) |
|
BEST12. |
| P | packed decimal (signed) |
|
(2 x ADBLEN + 1). |
| U | unpacked decimal | < = 16 | (ADBLEN + 1). |
| (zoned decimal) | > 16 | $HEX(2 x ADBLEN). | |
| (signed) |
The following information applies to this table:
| ADABAS Type | Description | Standard Length in Bytes | SAS Format and Informat |
|---|---|---|---|
| A | alphanumeric | < = 200 | $DDMLEN. |
| > 200 | $200. | ||
| B | binary (unsigned) | < = 4 | (DDMLEN + DDMDEC + DECPT + SIGNPT) . DDMDEC. |
| > 4 and < = 8 | (DDMLEN + DDMDEC + DECPT) . DDMDEC. |
||
| > 8 and < = 100 | $HEX(2 x ADBLEN). | ||
| > 100 | $HEX200. | ||
| F | fixed (signed) |
|
(DDMLEN + DDMDEC + DECPT + SIGNPT) .DDMDEC. |
| G | floating point (signed) |
|
BEST12. |
| P | packed decimal (signed) |
|
(DDMLEN + DDMDEC + DECPT + SIGNPT) . DDMDEC. |
| U | unpacked decimal (zoned decimal) (signed) | < = 16 | (DDMLEN + DDMDEC + DECPT + SIGNPT) . DDMDEC. |
| > 16 | $HEX(2 x ADBLEN). |
The following information applies to this table:
4).
l8).
4 bytes are treated as signed
numbers
8 bytes and > 4 bytes are treated as positive
(unsigned) numbers
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.