Category | Informat | Description | Width Range |
---|---|---|---|
Character | $w. | Read character data; trims leading blanks. | 1 - 32,767 |
$CHARw. | Read character data; does not trim leading blanks. | 1 - 32,767 | |
$HEXw. | Read hex ASCII characters as character data. | 1 - 32,767 | |
Numeric | w.d | Read standard numeric data. | 1 - 32 |
COMMAw.d | Read numeric data with embedded commas, $, and ( ) for negative values. | 1 - 32 | |
PERCENTw. | Convert percentages to numeric values. | 1 - 32 | |
HEXw. | Read hex values as numeric. | 1 - 16 | |
IBw. | Read binary integer values as numeric. | 1 - 8 | |
PDw. | Read packed decimal values as numeric. | 1 - 16 | |
Date | DATEw. | Read date as ddmmmyy or ddmmmyyyy, where mmm are the letters of abbreviation. | 7 - 32 |
MMDDYYw. | Read date as mmddyy or mmddyyyy, where the mm are digits. | 6 - 32 | |
DDMMYYw. | Read date as ddmmyy or ddmmyyyy, where the mm are digits. | 6 - 32 | |
JULIANw. | Read Julian date as yyddd or yyyyddd. | 5 - 32 | |
TIMEw. | Read time as hh:mm:ss.ss; 24 hour clock. | 5 - 32 | |
DATETIMEw. | Read date and time as ddmmmyy hh:mm:ss.ss or ddmmmyyyy hh:mm:ss.ss. | 5 - 32 | |
ANYDTDTEw. | Read time in various formats. | 5 - 32 |
Note: The digit w can often be omitted for dates and times, but might give unexpected results. If the digit w is included, but gives wrong results, try increasing of decreasing the digit.