Reads packed data in IBM mainframe format.
-
w
-
specifies the width of the input field.
-
d
-
specifies the power of 10 by which to divide
the value. This argument is optional.
Packed decimal data contain two digits
per byte, but only one digit in the input field represents the sign. The last
half of the last byte indicates the sign: a C or an F for positive numbers
and a D for negative numbers.
Use S370FPDw.d to read packed decimal data from IBM mainframe files on other
operating environments.
-
If you use SAS on an IBM mainframe, the S370FPDw.d and the
PDw.d informats are identical.
-
The following table compares the equivalent packed
decimal notation by programming language:
Language |
Packed Decimal Notation |
SAS |
S370FPD4. |
PL/I |
FIXED DEC(7,0) |
COBOL |
COMP-3 PIC 9(7) |
assembler |
PL4 |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.