Informats by Category

There are five categories of informats in this list:
Category
Description
Character
instructs SAS to read character data values into character variables.
Column Binary
instructs SAS to read data stored in column-binary or multipunched form into character or numeric variables.
Date and Time
instructs SAS to read date values into variables that represent dates, times, and datetimes.
ISO 8601
instructs SAS to read date, time, and datetime values that are written in the ISO 8601 standard into either numeric or character variables.
Numeric
instructs SAS to read numeric data values into numeric variables.
For information about column-binary data, see Reading Column-Binary Data in SAS Language Reference: Concepts. For information about creating user-defined informats, see FORMAT Procedure in Base SAS Procedures Guide.
The following table provides brief descriptions of the SAS informats. For more detailed descriptions, see the dictionary entry for each informat.
Category Language Elements Description
Character$ASCIIw. InformatConverts ASCII character data to native format.
$BASE64Xw. InformatConverts ASCII text into character data by using Base 64 encoding.
$BINARYw. InformatConverts binary data to character data.
$CHARw. InformatReads character data with blanks.
$CHARZBw. InformatConverts binary 0s to blanks.
$EBCDICw. InformatConverts EBCDIC character data to native format.
$HEXw. InformatConverts hexadecimal data to character data.
$OCTALw. InformatConverts octal data to character data.
$PHEXw. InformatConverts packed hexadecimal data to character data.
$QUOTEw. InformatRemoves matching quotation marks from character data.
$UPCASEw. InformatConverts character data to uppercase.
$VARYINGw. InformatReads character data of varying length.
$w. InformatReads standard character data.
Column Binary$CBw. InformatReads standard character data from column-binary files.
CBw.d InformatReads standard numeric values from column-binary files.
PUNCH.d InformatReads whether a row of column-binary data is punched.
ROWw.d InformatReads a column-binary field down a card column.
Date and Time$N8601Bw.d InformatReads complete, truncated, and omitted forms of ISO 8601 duration, datetime, and interval values that are specified in either the basic or extended notations.
$N8601Ew.d InformatReads ISO 8601 duration, datetime, and interval values that are specified in the extended notation.
ANYDTDTEw. InformatReads and extracts the date value from various date, time, and datetime forms.
ANYDTDTMw. InformatReads and extracts datetime values from various date, time, and datetime forms.
ANYDTTMEw. InformatReads and extracts time values from various date, time, and datetime forms.
B8601CIw.d InformatReads an IBM date and time value that includes a century marker, in the form cyymmddhhmmss<fff>.
B8601DAw. InformatReads date values that are specified using the ISO 8601 base notation yyyymmdd.
B8601DJw.d InformatReads a Java date and time value that is in the form yyyymmddhhmmss<ffffff>.
B8601DNw. InformatReads date values that are specified using the ISO 8601 basic notation yyyymmdd and returns SAS datetime values where the time portion of the value is 000000.
B8601DTw.d InformatReads datetime values that are specified using the ISO 8601 basic notation yyyymmddThhmmss<ffffff>.
B8601DZw.d InformatReads Coordinated Universal Time (UTC) datetime values that are specified using the ISO 8601 datetime basic notation yyyymmddThhmmss+|–hhmm or yyyymmddThhmmss<ffffff>Z.
B8601TMw.d InformatReads time values that are specified using the ISO 8601 basic notation hhmmss<ffffff>.
B8601TZw.d InformatReads time values that are specified using the ISO 8601 basic time notation hhmmss<ffff>+|–hhmm or hhmmss<ffffff>Z.
DATEw. InformatReads date values in the form ddmmmyy or ddmmmyyyy.
DATETIMEw. InformatReads datetime values in the form ddmmmyy hh:mm:ss.ss or ddmmmyyyy hh:mm:ss.ss.
DDMMYYw. InformatReads date values in the form ddmmyy<yy> or dd-mm-yy<yy>, where a special character, such as a hyphen (-), period (.), or slash (/), separates the day, month, and year; the year can be either 2 or 4 digits.
E8601DAw. InformatReads date values that are specified using the ISO 8601 extended notation yyyy-mm-dd.
E8601DNw. InformatReads date values that are specified using the ISO 8601 extended notation yyyy-mm-dd and returns SAS datetime values where the time portion of the value is 000000.
E8601DTw.d InformatReads datetime values that are specified using the ISO 8601 extended notation yyyy-mm-ddThh:mm:ss.<ffffff>.
E8601DZw.d InformatReads Coordinated Universal Time (UTC) datetime values that are specified using the ISO 8601 datetime extended notation yyyy-mm-ddThh:mm:ss+|–hh:mm.<fffff> or yyyy-mm-ddThh:mm:ss.<fffff>Z.
E8601LZw.d InformatReads Coordinated Universal Time (UTC) values that are specified using the ISO 8601 extended notation hh:mm:ss+|–hh:mm.<fffff> or hh:mm:ss.<fffff>Z and converts the values to the local time.
E8601TMw.d InformatReads time values that are specified using the ISO 8601 extended notation hh:mm:ss.<ffffff>.
E8601TZw.d InformatReads time values that are specified using the ISO 8601 extended time notation hh:mm:ss+|–hh:mm.<ffffff> or hh:mm:ssZ.
HHMMSSw. InformatReads hours, minutes, and seconds in the form hh:mm:ss or hhmmss.
JULIANw. InformatReads Julian dates in the form yyddd or yyyyddd.
MDYAMPMw.d InformatReads datetime values in the form mm-dd-yy<yy> hh:mm:ss.ss AM|PM, where a special character such as a hyphen (-), period (.), slash (/), or colon (:) separates the month, day, and year; the year can be either 2 or 4 digits.
MMDDYYw. InformatReads date values in the form mmddyy or mmddyyyy.
MONYYw. InformatReads month and year date values in the form mmmyy or mmmyyyy.
MSECw. InformatReads TIME MIC values.
PDJULGw. InformatReads packed Julian date values in the hexadecimal form yyyydddF for IBM.
PDJULIw. InformatReads packed Julian dates in the hexadecimal format ccyydddF for IBM.
PDTIMEw. InformatReads packed decimal time of SMF and RMF records.
RMFDURw. InformatReads duration intervals of RMF records.
RMFSTAMPw. InformatReads time and date fields of RMF records.
SHRSTAMPw. InformatReads date and time values of SHR records.
SMFSTAMPw. InformatReads time and date values of SMF records.
STIMERw. InformatReads time values and determines whether the values are hours, minutes, or seconds; reads the output of the STIMER system option.
TIMEw. InformatReads hours, minutes, and seconds in the form hh:mm:ss.ss, where special characters such as the colon (:) or the period (.) are used to separate the hours, minutes, and seconds.
TODSTAMPw. InformatReads an eight-byte time-of-day stamp.
TUw. InformatReads timer units.
WEEKUw. InformatReads a value in the form of a week-number within the year and returns a SAS date value by using the U algorithm.
WEEKVw. InformatReads a value in the form a week-number within a year and returns a SAS date value using the V algorithm.
WEEKWw. InformatReads a value in the form of a week-number within the year and returns a SAS date value using the W algorithm.
YMDDTTMw.d InformatReads datetime values in the form <yy>yy-mm-dd hh:mm:ss.ss, where special characters such as a hyphen (-), period (.), slash (/), or colon (:) are used to separate the year, month, day, hour, minute, and seconds; the year can be either 2 or 4 digits.
YYMMDDw. InformatReads date values in the form yymmdd or yyyymmdd.
YYMMNw. InformatReads date values in the form yyyymm or yymm.
YYQw. InformatReads quarters of the year in the form yyQq or yyyyQq.
ISO 8601$N8601Bw.d InformatReads complete, truncated, and omitted forms of ISO 8601 duration, datetime, and interval values that are specified in either the basic or extended notations.
$N8601Ew.d InformatReads ISO 8601 duration, datetime, and interval values that are specified in the extended notation.
B8601CIw.d InformatReads an IBM date and time value that includes a century marker, in the form cyymmddhhmmss<fff>.
B8601DAw. InformatReads date values that are specified using the ISO 8601 base notation yyyymmdd.
B8601DJw.d InformatReads a Java date and time value that is in the form yyyymmddhhmmss<ffffff>.
B8601DNw. InformatReads date values that are specified using the ISO 8601 basic notation yyyymmdd and returns SAS datetime values where the time portion of the value is 000000.
B8601DTw.d InformatReads datetime values that are specified using the ISO 8601 basic notation yyyymmddThhmmss<ffffff>.
B8601DZw.d InformatReads Coordinated Universal Time (UTC) datetime values that are specified using the ISO 8601 datetime basic notation yyyymmddThhmmss+|–hhmm or yyyymmddThhmmss<ffffff>Z.
B8601TMw.d InformatReads time values that are specified using the ISO 8601 basic notation hhmmss<ffffff>.
B8601TZw.d InformatReads time values that are specified using the ISO 8601 basic time notation hhmmss<ffff>+|–hhmm or hhmmss<ffffff>Z.
E8601DAw. InformatReads date values that are specified using the ISO 8601 extended notation yyyy-mm-dd.
E8601DNw. InformatReads date values that are specified using the ISO 8601 extended notation yyyy-mm-dd and returns SAS datetime values where the time portion of the value is 000000.
E8601DTw.d InformatReads datetime values that are specified using the ISO 8601 extended notation yyyy-mm-ddThh:mm:ss.<ffffff>.
E8601DZw.d InformatReads Coordinated Universal Time (UTC) datetime values that are specified using the ISO 8601 datetime extended notation yyyy-mm-ddThh:mm:ss+|–hh:mm.<fffff> or yyyy-mm-ddThh:mm:ss.<fffff>Z.
E8601LZw.d InformatReads Coordinated Universal Time (UTC) values that are specified using the ISO 8601 extended notation hh:mm:ss+|–hh:mm.<fffff> or hh:mm:ss.<fffff>Z and converts the values to the local time.
E8601TMw.d InformatReads time values that are specified using the ISO 8601 extended notation hh:mm:ss.<ffffff>.
E8601TZw.d InformatReads time values that are specified using the ISO 8601 extended time notation hh:mm:ss+|–hh:mm.<ffffff> or hh:mm:ssZ.
NumericBINARYw.d InformatConverts positive binary values to integers.
BITSw.d InformatExtracts bits.
BZw.d InformatConverts blanks to 0s.
COMMAw.d InformatRemoves embedded characters.
COMMAXw.d InformatRemoves embedded periods, blanks, dollar signs, percent signs, dashes, and closing parenthesis from the input data. An open parenthesis at the beginning of a field is converted to a minus sign. The COMMAX informat reverses the roles of the decimal point and the comma.
Ew.d InformatReads numeric values that are stored in scientific notation and double-precision scientific notation.
FLOATw.d InformatReads a native single-precision, floating-point value and divides it by 10 raised to the dth power.
HEXw. InformatConverts hexadecimal positive binary values to either integer (fixed-point) or real (floating-point) binary values.
IBw.d InformatReads native integer binary (fixed-point) values, including negative values.
IBRw.d InformatReads integer binary (fixed-point) values in Intel and DEC formats.
IEEEw.d InformatReads an IEEE floating-point value and divides it by 10 raised to the d th power.
NUMXw.d InformatReads numeric values with a comma in place of the decimal point.
OCTALw.d InformatConverts positive octal values to integers.
PDw.d InformatReads data that are stored in IBM packed decimal format.
PERCENTw.d InformatReads percentages as numeric values.
PIBw.d InformatReads positive integer binary (fixed-point) values.
PIBRw.d InformatReads positive integer binary (fixed-point) values in Intel and DEC formats.
PKw.d InformatReads unsigned packed decimal data.
RBw.d InformatReads numeric data that are stored in real binary (floating-point) notation.
S370FFw.d InformatReads EBCDIC numeric data.
S370FIBw.d InformatReads integer binary (fixed-point) values, including negative values, in IBM mainframe format.
S370FIBUw.d InformatReads unsigned integer binary (fixed-point) values in IBM mainframe format.
S370FPDw.d InformatReads packed data in IBM mainframe format.
S370FPDUw.d InformatReads unsigned packed decimal data in IBM mainframe format.
S370FPIBw.d InformatReads positive integer binary (fixed-point) values in IBM mainframe format.
S370FRBw.d InformatReads real binary (floating-point) data in IBM mainframe format.
S370FZDw.d InformatReads zoned decimal data in IBM mainframe format.
S370FZDBw.d InformatReads zoned decimal data in which zeros have been left blank.
S370FZDLw.d InformatReads zoned decimal leading-sign data in IBM mainframe format.
S370FZDSw.d InformatReads zoned decimal separate leading-sign data in IBM mainframe format.
S370FZDTw.d InformatReads zoned decimal separate trailing-sign data in IBM mainframe format.
S370FZDUw.d InformatReads unsigned zoned decimal data in IBM mainframe format.
TRAILSGNw. InformatReads a trailing plus (+) or minus (–) sign.
VAXRBw.d InformatReads real binary (floating-point) data in VMS format.
VMSZNw.d InformatReads VMS and MicroFocus COBOL zoned numeric data.
w.d InformatReads standard numeric data.
ZDw.d InformatReads zoned decimal data.
ZDBw.d InformatReads zoned decimal data in which zeros have been left blank.
ZDVw.d InformatReads and validates zoned decimal data.