Formats Syntax Listed by Category

BIDI text handling

B L V

Name
Syntax and Description
$BIDI w.
Converts between a logically ordered string and a visually ordered string, by reversing the order of Hebrew and Arabic characters while preserving the order of Latin words and numbers.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$LOGVSR w.
Processes a character string that is in right-to-left-logical order, and then writes the character string in visual order.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$LOGVS w.
Processes a character string that is in left-to-right-logical order, and then writes the character string in visual order.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$VSLOGR w.
Processes a character string that is in visual order, and then writes the character string in right-to-left logical order.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$VSLOG w.
Processes a character string that is in visual order, and then writes the character string in left-to-right logical order.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide

Character

A B C E H M O Q R U V W

Name
Syntax and Description
$ASCII w.
Converts native format character data to ASCII representation.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$BASE64Xw.
Converts character data into ASCII text by using Base 64 encoding.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$BINARY w.
Converts character data to binary representation.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$CHAR w.
Writes standard character data.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$EBCDIC w.
Converts native format character data to EBCDIC representation.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
Converts character values to hexadecimal representation.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
$HEXw.
Converts character values to hexadecimal values.
Product: Base SAS
Document: SAS 9.3 Companion for Windows
$HEX w.
Converts character data to hexadecimal representation.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$MSGCASE w.
Writes character data in uppercase when the MSGCASE system option is in effect.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$OCTAL w.
Converts character data to octal representation.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$QUOTE w.
Writes data values that are enclosed in double quotation marks.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$REVERJ w.
Writes character data in reverse order and preserves blanks.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$REVERS w.
Writes character data in reverse order and left aligns
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$UCS2BE w.
Processes a character string that is in big-endian, 16-bit, UCS2, Unicode encoding, and then writes the character string in the encoding of the current SAS session.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UCS2B w.
Processes a character string that is in the encoding of the current SAS session, and then writes the character string in big-endian, 16-bit, UCS2, Unicode encoding.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UCS2LE w.
Processes a character string that is in little-endian, 16-bit, UCS2, Unicode encoding, and then writes the character string in the encoding of the current SAS session.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UCS2L w.
Processes a character string that is in the encoding of the current SAS session, and then writes the character string in little-endian, 16-bit, UCS2, Unicode encoding.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UCS2XE w.
Processes a character string that is in native-endian, 16-bit, UCS2, Unicode encoding, and then writes the character string in the encoding of the current SAS session.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UCS2X w.
Processes a character string that is in the encoding of the current SAS session, and then writes the character string in native-endian, 16-bit, UCS2, Unicode encoding.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UCS4BE w.
Processes a character string that is in big-endian, 32-bit, UCS4, Unicode encoding, and then writes the character string in the encoding of the current SAS session.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UCS4B w.
Processes a character string that is in the encoding of the current SAS session, and then writes the character string in big-endian, 32-bit, UCS4, Unicode encoding.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UCS4LE w.
Processes a character string that is in little-endian, 32-bit, UCS4, Unicode encoding, and then writes the character string in the encoding of the current SAS session.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UCS4L w.
Processes a character string that is in the encoding of the current SAS session, and then writes the character string in little-endian, 32-bit, UCS4, Unicode encoding.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UCS4XE w.
Processes a character string that is in native-endian, 32-bit, UCS4, Unicode encoding, and then writes the character string in the encoding of the current SAS session.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UCS4X w.
Processes a character string that is in the encoding of the current SAS session, and then writes the character string in native-endian, 32-bit, UCS4, Unicode encoding.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UESCE w.
Processes a character string that is in Unicode escape (UESC) representation, and then writes the character string in the encoding of the current SAS session.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UESC w.
Processes a character string that is encoded in the current SAS session, and then writes the character string in Unicode escape (UESC) representation.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UNCRE w.
Processes a character string that is in numeric character representation (NCR), and then writes the character string in the encoding of the current SAS session.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UNCR w.
Processes a character string that is encoded in the current SAS session, and then writes the character string in numeric character representation (NCR).
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UPARENE w.
Processes a character string that is in Unicode parenthesis (UPAREN), and then writes the character string in the encoding of the current SAS session.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UPAREN w.
Processes a character string that is encoded in the current SAS session, and then writes the character string in Unicode parenthesis (UPAREN) representation.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UPCASE w.
Converts character data to uppercase.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$UTF8XE w.
Processes a character string that is in universal transformation format (UTF-8), and then writes the character string in the encoding of the current SAS session.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$UTF8X w.
Processes a character string that is in the encoding of the current SAS session, and then writes the character string in universal transformation format (UTF-8) encoding.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$VARYING w. length-variable
Writes character data of varying length.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$ w.
Writes standard character data.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference

Currency Conversion

E

Name
Syntax and Description
EURFRATS w.d
Converts an amount from Austrian schillings to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRBEF w.d
Converts an amount from Belgian francs to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRCHF w.d
Converts an amount from Swiss francs to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRDEM w.d
Converts an amount from Deutsche marks to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRDKK w.d
Converts an amount from Danish kroner to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRESP w.d
Converts an amount from Spanish peseta to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRFIM w.d
Converts an amount from Finnish markkas to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRFRF w.d
Converts an amount from French francs to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRGBP w.d
Converts an amount from British pounds to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRGRD w.d
Converts an amount from Greek drachmas to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRHUF w.d
Converts an amount from Hungarian forints to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRIEP w.d
Converts an amount from Irish pounds to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRITL w.d
Converts an amount from Italian lire to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRLUF w.d
Converts an amount from Luxembourg francs to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRNLG w.d
Converts an amount from Dutch guilders to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRNOK w.d
Converts an amount from Norwegian krone to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRPLZ w.d
Converts an amount from Polish zloty to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRPTE w.d
Converts an amount from Portuguese escudos to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRROL w.d
Converts an amount from Romanian lei to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRRUR w.d
Converts an amount from Russian rubles to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRSEK w.d
Converts an amount from Swedish kronor to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRSIT w.d
Converts an amount from Slovenian tolars to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRTRL w.d
Converts an amount from Turkish liras to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURFRYUD w.d
Converts an amount from Yugoslavian dinars to euros.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOATS w.d
Converts an amount from euros to Austrian schillings.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOBEF w.d
Converts an amount from euros to Belgian francs.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOCHF w.d
Converts an amount from euros to Swiss francs.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOCZK w.d
Converts an amount from euros to Czech koruny.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTODEM w.d
Converts an amount from euros to Deutsche marks.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTODKK w.d
Converts an amount from euros to Danish kroner.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOESP w.d
Converts an amount from euros to Spanish peseta.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOFIM w.d
Converts an amount from euros to Finnish markkas.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOFRF w.d
Converts an amount from euros to French francs.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOGBP w.d
Converts an amount from euros to British pounds.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOGRD w.d
Converts an amount from euros to Greek drachmas.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOHUF w.d
Converts an amount from euros to Hungarian forints.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOIEP w.d
Converts an amount from euros to Irish pounds.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOITL w.d
Converts an amount from euros to Italian lire.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOLUF w.d
Converts an amount from euros to Luxembourg francs.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTONLG w.d
Converts an amount from euros to Dutch guilders.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTONOK w.d
Converts an amount from euros to Norwegian krone.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOPLZ w.d
Converts an amount from euros to Polish zloty.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOPTE w.d
Converts an amount from euros to Portuguese escudos.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOROL w.d
Converts an amount from euros to Romanian lei.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTORUR w.d
Converts an amount from euros to Russian rubles.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOSEK w.d
Converts an amount from euros to Swedish kronor.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOSIT w.d
Converts an amount from euros to Slovenian tolars.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOTRL w.d
Converts an amount from euros to Turkish liras.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURTOYUD w.d
Converts an amount from euros to Yugoslavian dinars.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide

DBCS

K

Name
Syntax and Description
$KANJI w.
Adds shift-code data to DBCS data.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$KANJIX w.
Removes shift-code data from DBCS data.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide

Date and Time

B D E H J M N P Q T W Y

Name
Syntax and Description
B8601DA w.
Writes date values by using the ISO 8601 basic notation yyyymmdd.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
B8601DN w.
Writes dates from datetime values by using the ISO 8601 basic notation yyyymmdd.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
B8601DT w.d
Writes datetime values by using the ISO 8601 basic notation yyyymmddThhmmss<ffffff>.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
B8601DZ w.
Writes datetime values for the zero meridian Coordinated Universal Time (UTC) time by using the ISO 8601 datetime and time zone basic notation yyyymmddThhmmss+0000.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
B8601LZ w.
Writes time values as local time by appending a time zone offset difference between the local time and UTC, using the ISO 8601 basic time notation hhmmss+|-hhmm.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
B8601TM w.d
Writes time values by using the ISO 8601 basic notation hhmmss<ffff>.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
B8601TZ w
Adjusts time values to the Coordinated Universal Time (UTC) and writes the time values by using the ISO 8601 basic time notation hhmmss+|-hhmm.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DATEAMPM w.d
Writes datetime values in the form with AM or PM.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DATETIME w.d
Writes datetime values in the form ddmmmyy:hh:mm:ss.ss.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DATE w.
Writes SAS date values in the form ddmmmyy, ddmmmyyyy, or dd-mmm-yyyy.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DAY w.
Writes date values as the day of the month.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DDMMYY w.
Writes date values in the form ddmm<yy>yy or dd/mm/<yy>yy, where a forward slash is the separator and the year appears as either 2 or 4 digits.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DDMMYY x w.
Writes date values in the form ddmm<yy>yy or dd-mm-yy<yy>, where the x in the format name is a character that represents the special character that separates the day, month, and year, which can be a hyphen (-), period (.), blank character, slash (/), colon (:), or no separator; the year can be either 2 or 4 digits.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DOWNAME w.
Writes date values as the name of the day of the week.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DTDATE w.
Expects a SAS datetime value as input and writes the SAS date values in the form ddmmmyy or ddmmmyyyy.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DTMONYY w.
Writes the date part of a SAS datetime value as the month and year in the form mmmyy or mmmyyyy.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DTWKDATX w.
Writes the date part of a SAS datetime value as the day of the week and the date in the form day-of-week, dd month-name yy (or yyyy).
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DTYEAR w.
Writes the date part of a SAS datetime value as the year in the form yy or yyyy.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DTYYQC w.
Writes the date part of a datetime value as the year and the quarter and separates them with a colon (:).
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601DA w.
Writes date values by using the ISO 8601 extended notation yyyy-mm-dd.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601DN w.
Writes dates from SAS datetime values by using the ISO 8601 extended notation yyyy-mm-dd.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601DT w.d
E8601DT w.d
Writes datetime values by using the ISO 8601 extended notation yyyy-mm-ddThh:mm:ss.ffffff.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601DZ w.
Writes datetime values for the Coordinated Universal Time (UTC) time by using the ISO 8601 datetime and time zone extended notation yyyymmddThhmmss+0000.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601LZ w.
Writes time values as local time, appending the Coordinated Universal Time (UTC) offset for the local SAS session, using the ISO 8601 extended time notation hh:mm:ss+|-hh:mm.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601TM w.d
Writes time values by using the ISO 8601 extended notation hh:mm:ss.ffffff.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601TZ w.d
Adjusts time values to the Coordinated Universal Time (UTC) and writes the time values by using the ISO 8601 extended notation hh:mm:ss.<fff>+|-hh:mm.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
EURDFDD w.
Writes international date values in the form dd.mm.yy or dd.mm.yyyy.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURDFDE w.
Writes international date values in the form ddmmmyy or ddmmmyyyy.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURDFDN w.
Writes international date values as the day of the week.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURDFDT w.d
Writes international datetime values in the form ddmmmyy:hh:mm:ss.ss or ddmmmyyyy hh:mm:ss.ss.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURDFDWN w.
Writes international date values as the name of the day.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURDFMN w.
Writes international date values as the name of the month.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURDFMY w.
Writes international date values in the form mmmyy or mmmyyyy.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURDFWDX w.
Writes international date values as the name of the month, the day, and the year in the form dd month-name yy (or yyyy).
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EURDFWKX w.
Writes international date values as the name of the day and date in the form day-of-week, dd month-name yy (or yyyy).
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
HDATE w.
Writes date values in the form yyyy mmmmm dd where dd is the day-of-the-month, mmmmm represents the month's name in Hebrew, and yyyy is the year.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
HEBDATE w.
Writes date values according to the Jewish calendar.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
HHMM w.d
Writes SAS time values as hours and minutes in the form hh:mm.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
HOUR w.d
Writes time values as hours and decimal fractions of hours.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
JULDAY w.
Writes date values as the Julian day of the year.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
JULIAN w.
Writes SAS date values as Julian dates in the form yyddd or yyyyddd.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
MDYAMPM w.
Writes datetime values in the form AM|PM. The year can be either two or four digits.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
MINGUO w.
Writes date values as Taiwanese dates in the form yyyymmdd.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
MMDDYY w.
Writes date values in the form mmdd<yy>yy or mm/dd/<yy>yy, where a forward slash is the separator and the year appears as either 2 or 4 digits.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
MMDDYY x w.
Writes date values in the form mmdd<yy>yy or mm-dd-<yy>yy, where the x in the format name is a character that represents the special character which separates the month, day, and year. The special character can be a hyphen (-), period (.), blank character, slash (/), colon (:), or no separator; the year can be either 2 or 4 digits.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
MMSS w.d
Writes time values as the number of minutes and seconds since midnight.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
MMYY w.
Writes date values in the form mmM<yy>yy, where M is the separator and the year appears as either 2 or 4 digits.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
MMYY x w.
Writes date values in the form mm<yy>yy or mm-<yy>yy, where the x in the format name is a character that represents the special character that separates the month and the year, which can be a hyphen (-), period (.), blank character, slash (/), colon (:), or no separator; the year can be either 2 or 4 digits.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
MONNAME w.
Writes date values as the name of the month.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
MONTH w.
Writes date values as the month of the year.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
MONYY w.
Writes SAS date values as the month and the year in the form mmmyy or mmmyyyy.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601BA w.d
Writes ISO 8601 duration, datetime, and interval forms by using the basic notations PyyyymmddThhmmss and yyyymmddThhmmss.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601B w.d
Writes ISO 8601 duration, datetime, and interval forms by using the basic notations PnYnMnDTnHnMnS and yyyymmddThhmmss.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601EA w.d
Writes ISO 8601 duration, datetime, and interval forms by using the extended notations Pyyyy-mm-ddThh:mm:ss and yyyy-mm-ddThh:mm:ss.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601EH w.d
$N8601EH w.d
Writes ISO 8601 duration, datetime, and interval forms by using the extended notations Pyyyy-mm-ddThh:mm:ss and yyyy-mm-ddThh:mm:ss, using a hyphen ( - ) for omitted components.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601E w.d
Writes ISO 8601 duration, datetime, and interval forms by using the extended notations PnYnMnDTnHnMnS and yyyy-mm-ddThh:mm:ss.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601X w.d
Writes ISO 8601 duration, datetime, and interval forms by using the extended notations Pyyyy-mm-ddThh:mm:ss and yyyy-mm-ddThh:mm:ss, using an x for each digit of an omitted component.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601H w.d
Writes ISO 8601 duration, datetime, and interval forms PnYnMnDTnHnMnS and yyyy-mm-ddThh:mm:ss, dropping omitted components in duration values and using a hyphen ( - ) for omitted components in datetime values.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601X w.d
Writes ISO 8601 duration, datetime, and interval forms PnYnMnDTnHnMnS and yyyy-mm-ddThh:mm:ss, dropping omitted components in duration values and using an x for each digit of an omitted component in datetime values.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
NENGO w.
Writes SAS date values as Japanese dates in the form e.yymmdd.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATEMD w.
Converts the SAS date value to the date value of the specified locale, and then writes the value as the name of the month and the day of the month.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATEMN w.
Converts a SAS date value to the date value of the specified locale, and then writes the value as the name of the month.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATE w.
Converts a SAS date value to the date value of the specified locale, and then writes the date value as a date.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATEWN w.
Converts the SAS date value to the date value of the specified locale, and then writes the date value as the day of the week.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATEW w.
Converts a SAS date value to the date value of the specified locale, and then writes the value as the date and the day of the week.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATEYM w.
Converts the SAS date value to the date value of the specified locale, and then writes the date value as the year and the name of the month.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATEYQ w.
Converts the SAS date value to the date value of the specified locale, and then writes the date value as the year and the quarter.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATEYR w.
Converts the SAS date value to the date value of the specified locale, and then writes the date value as the year.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATEYW w.
Converts the SAS date value to the date value of the specified locale, and then writes the date value as the year and the week.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMAP w.
Converts a SAS datetime value to the datetime value of the specified locale, and then writes the value as a datetime with a.m. or p.m.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMDT w.
Converts the SAS datetime value to the datetime value of the specified locale, and then writes the value as the name of the month, day of the month and year.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMMD w.
Converts the SAS datetime value to the datetime value of the specified locale, and then writes the value as the name of the month and the day of the month.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMMN w.
Converts the SAS datetime value to the datetime value of the specified locale, and then writes the value as the name of the month.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMTM w.
Converts the time portion of a SAS datetime value to the time-of-day value of the specified locale, and then writes the value as a time of day.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMTZ w.
Converts the time portion of the SAS datetime of the locale to the time of day and time zone.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATM w.
Converts a SAS datetime value to the datetime value of the specified locale, and then writes the value as a datetime.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMWN w.
Converts a SAS datetime value to the datetime value of the specified locale, and then writes the value as the day of the week.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMW w.
Converts SAS datetime values to the locale sensitive datetime string as the day of the week and the datetime.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMWZ w.
Converts SAS date values of the specified locale to a day-of-week, datetime, and time zone value.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMYM w.
Converts the SAS datetime value to the datetime value of the specified locale, and then writes the value as the year and the name of the month.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMYQ w.
Converts the SAS datetime value to the datetime value of the specified locale, and then writes the value as the year and the quarter of the year.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMYR w.
Converts the SAS datetime value to the datetime value of the specified locale, and then writes the value as the year.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMYW w.
Converts the SAS datetime value to the datetime value of the specified locale, and then writes the value as the year and the name of the week.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLDATMZ w.
Converts SAS datetime values to the locale-sensitive datetime string as time zone and datetime.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLTIMAP w.
Converts a SAS time value to the time value of a specified locale, and then writes the value as a time value with a.m. or p.m. NLTIMAP also converts SAS date-time values.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLTIME w.
Converts a SAS time value to the time value of the specified locale, and then writes the value as a time value. NLTIME also converts SAS date-time values.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
PDJULG w.
Writes packed Julian date values in the hexadecimal format F for IBM.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
PDJULI w.
Writes packed Julian date values in the hexadecimal format F for IBM.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
QTRR w.
Writes date values as the quarter of the year in Roman numerals.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
QTR w.
Writes date values as the quarter of the year.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
TIMEAMPM w.d
Writes time and datetime values as hours, minutes, and seconds in the form with AM or PM.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
TIME w.d
Writes SAS time values as hours, minutes, and seconds in the form hh:mm:ss.ss.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
TOD w.d
Writes SAS time values and the time portion of SAS datetime values in the form hh:mm:ss.ss.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
WEEKDATE w.
Writes SAS date values as the day of the week and the date in the form day-of-week, month-name dd, yy (or yyyy).
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
WEEKDATX w.
Writes SAS date values as the day of the week and date in the form day-of-week, dd month-name yy (or yyyy).
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
WEEKDAY w.
Writes date values as the day of the week.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
WEEKU w.
Writes a week number in decimal format by using the U algorithm.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
WEEKU w.
Writes a week number in decimal format by using the U algorithm.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
WEEKV w.
Writes a week number in decimal format by using the V algorithm.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
WEEKV w.
Writes a week number in decimal format by using the V algorithm.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
WEEKW w.
Writes a week number in decimal format by using the W algorithm.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
WEEKW w.
Writes a week number in decimal format by using the W algorithm.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
WORDDATE w.
Writes date values as the name of the month, the day, and the year in the form month-name dd, yyyy.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
WORDDATX w.
Writes date values as the day, the name of the month, and the year in the form dd month-name yyyy.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
YEAR w.
Writes date values as the year.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
YYMMDD w.
Writes date values in the form yymmdd or <yy>yy-mm-dd, where a hyphen is the separator and the year appears as either 2 or 4 digits.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
YYMMDD x w.
Writes date values in the form yymmdd or <yy>yy-mm-dd, where the x in the format name is a character that represents the special character which separates the year, month, and day. The special character can be a hyphen (-), period (.), blank character, slash (/), colon (:), or no separator; the year can be either 2 or 4 digits.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
YYMM w.
Writes date values in the form <yy>yyMmm, where M is a character separator to indicate that the month number follows the M and the year appears as either 2 or 4 digits.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
YYMON w.
Writes SAS date values in the form yymmm or yyyymmm.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
YYQR w.
Writes date values in the form <yy>yyQqr, where Q is the separator, the year appears as either 2 or 4 digits, and qr is the quarter of the year expressed in roman numerals.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
YYQR x w.
Writes date values in the form <yy>yy qr or <yy>yy-qr, where the x in the format name is a character that represents the special character that separates the year and the quarter or the year, which can be a hyphen (-), period (.), blank character, slash (/), colon (:), or no separator; the year can be either 2 or 4 digits and qr is the quarter of the year expressed in roman numerals.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
YYQ w.
Writes date values in the form <yy>yyQq, where Q is the separator, the year appears as either 2 or 4 digits, and q is the quarter of the year.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
YYQ x w.
Writes date values in the form <yy>yyq or <yy>yy-q, where the x in the format name is a character that represents the special character that separates the year and the quarter or the year, which can be a hyphen (-), period (.), blank character, slash (/), colon (:), or no separator; the year can be either 2 or 4 digits.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
YYWEEKU w.
Writes a week number in decimal format by using the U algorithm, excluding day-of-the-week information.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
YYWEEKV w.
Writes a week number in decimal format by using the V algorithm, excluding day-of-the-week information.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
YYWEEKW w.
Writes a week number in decimal format by using the W algorithm, excluding the day-of-week information.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide

Hebrew text handling

C

Name
Syntax and Description
$CPTDW w.
Processes a character string that is in Hebrew text, encoded in IBM-PC (cp862), and then writes the character string in Windows Hebrew encoding (cp 1255).
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
$CPTWD w.
Processes a character string that is encoded in Windows (cp1255), and then writes the character string in Hebrew DOS (cp862) encoding.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide

ISO 8601

B E N

Name
Syntax and Description
B8601DA w.
Writes date values by using the ISO 8601 basic notation yyyymmdd.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
B8601DN w.
Writes dates from datetime values by using the ISO 8601 basic notation yyyymmdd.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
B8601DT w.d
Writes datetime values by using the ISO 8601 basic notation yyyymmddThhmmss<ffffff>.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
B8601DZ w.
Writes datetime values for the zero meridian Coordinated Universal Time (UTC) time by using the ISO 8601 datetime and time zone basic notation yyyymmddThhmmss+0000.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
B8601LZ w.
Writes time values as local time by appending a time zone offset difference between the local time and UTC, using the ISO 8601 basic time notation hhmmss+|-hhmm.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
B8601TM w.d
Writes time values by using the ISO 8601 basic notation hhmmss<ffff>.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
B8601TZ w
Adjusts time values to the Coordinated Universal Time (UTC) and writes the time values by using the ISO 8601 basic time notation hhmmss+|-hhmm.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601DA w.
Writes date values by using the ISO 8601 extended notation yyyy-mm-dd.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601DN w.
Writes dates from SAS datetime values by using the ISO 8601 extended notation yyyy-mm-dd.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601DT w.d
E8601DT w.d
Writes datetime values by using the ISO 8601 extended notation yyyy-mm-ddThh:mm:ss.ffffff.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601DZ w.
Writes datetime values for the Coordinated Universal Time (UTC) time by using the ISO 8601 datetime and time zone extended notation yyyymmddThhmmss+0000.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601LZ w.
Writes time values as local time, appending the Coordinated Universal Time (UTC) offset for the local SAS session, using the ISO 8601 extended time notation hh:mm:ss+|-hh:mm.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601TM w.d
Writes time values by using the ISO 8601 extended notation hh:mm:ss.ffffff.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
E8601TZ w.d
Adjusts time values to the Coordinated Universal Time (UTC) and writes the time values by using the ISO 8601 extended notation hh:mm:ss.<fff>+|-hh:mm.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601BA w.d
Writes ISO 8601 duration, datetime, and interval forms by using the basic notations PyyyymmddThhmmss and yyyymmddThhmmss.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601B w.d
Writes ISO 8601 duration, datetime, and interval forms by using the basic notations PnYnMnDTnHnMnS and yyyymmddThhmmss.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601EA w.d
Writes ISO 8601 duration, datetime, and interval forms by using the extended notations Pyyyy-mm-ddThh:mm:ss and yyyy-mm-ddThh:mm:ss.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601EH w.d
$N8601EH w.d
Writes ISO 8601 duration, datetime, and interval forms by using the extended notations Pyyyy-mm-ddThh:mm:ss and yyyy-mm-ddThh:mm:ss, using a hyphen ( - ) for omitted components.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601E w.d
Writes ISO 8601 duration, datetime, and interval forms by using the extended notations PnYnMnDTnHnMnS and yyyy-mm-ddThh:mm:ss.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601X w.d
Writes ISO 8601 duration, datetime, and interval forms by using the extended notations Pyyyy-mm-ddThh:mm:ss and yyyy-mm-ddThh:mm:ss, using an x for each digit of an omitted component.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601H w.d
Writes ISO 8601 duration, datetime, and interval forms PnYnMnDTnHnMnS and yyyy-mm-ddThh:mm:ss, dropping omitted components in duration values and using a hyphen ( - ) for omitted components in datetime values.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
$N8601X w.d
Writes ISO 8601 duration, datetime, and interval forms PnYnMnDTnHnMnS and yyyy-mm-ddThh:mm:ss, dropping omitted components in duration values and using an x for each digit of an omitted component in datetime values.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference

Numeric

B C D E F H I N O P R S V W Y Z

Name
Syntax and Description
BESTDw.p
Prints numeric values, lining up decimal places for values of similar magnitude, and prints integers without decimals.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
SAS software chooses the best notation.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS
BEST w.
SAS chooses the best notation.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
BINARY w.
Converts numeric values to binary representation.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
COMMA w.d
Writes numeric values with a comma that separates every three digits and a period that separates the decimal fraction.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
COMMAX w.d
Writes numeric values with a period that separates every three digits and a comma that separates the decimal fraction.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DOLLAR w.d
Writes numeric values with a leading dollar sign, a comma that separates every three digits, and a period that separates the decimal fraction.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
DOLLARX w.d
Writes numeric values with a leading dollar sign, a period that separates every three digits, and a comma that separates the decimal fraction.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
D w.p
Prints numeric values, possibly with a great range of values, lining up decimal places for values of similar magnitude.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
EURO w.d
Writes numeric values with a leading euro symbol (E), a comma that separates every three digits, and a period that separates the decimal fraction.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
EUROX w.d
Writes numeric values with a leading euro symbol (E), a period that separates every three digits, and a comma that separates the decimal fraction.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
Writes numeric values in scientific notation.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS
E w.
Writes numeric values in scientific notation.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
FLOAT w.d
Generates a native single-precision, floating-point value by multiplying a number by 10 raised to the th power.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
FRACT w.
Converts numeric values to fractions.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
Converts real binary (floating-point) numbers to hexadecimal representation.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
HEXw.
Converts real binary (floating-point) values to hexadecimal values.
Product: Base SAS
Document: SAS 9.3 Companion for Windows
Converts real binary (floating-point) values to hexadecimal values.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS
HEX w.
Converts real binary (floating-point) values to hexadecimal representation.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
IBR w.d
Writes integer binary (fixed-point) values in Intel and DEC formats.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
Writes integer binary (fixed-point) values.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
IBw.d
Writes values in integer binary (fixed-point) format.
Product: Base SAS
Document: SAS 9.3 Companion for Windows
Writes values in integer binary (fixed-point) format.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS
IB w.d
Writes native integer binary (fixed-point) values, including negative values.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
IEEE w.d
Generates an IEEE floating-point value by multiplying a number by 10 raised to the th power.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
NEGPAREN w.d
Writes negative numeric values in parentheses.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
NLBEST w.
Writes the best numerical notation based on the locale.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIAED w.d
Writes the monetary format of the international expression for the United Arab Emirates.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIAUD w.d
Writes the monetary format of the international expression for Australia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIBGN w.d
Writes the monetary format of the international expression for Bulgaria.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIBRL w.d
Writes the monetary format of the international expression for Brazil.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNICAD w.d
Writes the monetary format of the international expression for Canada.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNICHF w.d
Writes the monetary format of the international expression for Liechtenstein and Switzerland.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNICNY w.d
Writes the monetary format of the international expression for China.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNICZK w.d
Writes the monetary format of the international expression for the Czech Republic.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIDKK w.d
Writes the monetary format of the international expression for Denmark, Faroe Island, and Greenland.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIEEK w.d
Writes the monetary format of the international expression for Estonia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIEGP w.d
Writes the monetary format of the international expression for Egypt.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIEUR w.d
Writes the monetary format of the international expression for Belgium, Finland, France, Germany, Greece, Ireland, Italy, Luxembourg, Malta, the Netherlands, Portugal, Slovenia, and Spain.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIGBP w.d
Writes the monetary format of the international expression for the United Kingdom.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIHKD w.d
Writes the monetary format of the international expression for Hong Kong.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIHRK w.d
Writes the monetary format of the international expression for Croatia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIHUF w.d
Writes the monetary format of the international expression for Hungary.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIIDR w.d
Writes the monetary format of the international expression for Indonesia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIILS w.d
Writes the monetary format of the international expression for Israel.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIINR w.d
Writes the monetary format of the international expression for India.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIJPY w.d
Writes the monetary format of the international expression for Japan.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIKRW w.d
Writes the monetary format of the international expression for South Korea.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNILTL w.d
Writes the monetary format of the international expression for Lithuania.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNILVL w.d
Writes the monetary format of the international expression for Latvia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIMOP w.d
Writes the monetary format of the international expression for Macau.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIMXN w.d
Writes the monetary format of the international expression for Mexico.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIMYR w.d
Writes the monetary format of the international expression for Malaysia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNINOK w.d
Writes the monetary format of the international expression for Norway.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNINZD w.d
Writes the monetary format of the international expression for New Zealand.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIPLN w.d
Writes the monetary format of the international expression for Poland.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIRUB w.d
Writes the monetary format of the international expression for Russia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNISEK w.d
Writes the monetary format of the international expression for Sweden.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNISGD w.d
Writes the monetary format of the international expression for Singapore.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNITHB w.d
Writes the monetary format of the international expression for Thailand.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNITRY w.d
Writes the monetary format of the international expression for Turkey.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNITWD w.d
Writes the monetary format of the international expression for Taiwan.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIUSD w.d
Writes the monetary format of the international expression for Puerto Rico and the United States.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNIZAR w.d
Writes the monetary format of the international expression for South Africa.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLAED w.d
Writes the monetary format of the local expression for the United Arab Emirates.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLAUD w.d
Writes the monetary format of the local expression for Australia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLBGN w.d
Writes the monetary format of the local expression for Bulgaria.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLBRL w.d
Writes the monetary format of the local expression for Brazil.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLCAD w.d
Writes the monetary format of the local expression for Canada.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLCHF w.d
Writes the monetary format of the local expression for Liechtenstein and Switzerland.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLCNY w.d
Writes the monetary format of the local expression for China.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLCZK w.d
Writes the monetary format of the local expression for the Czech Republic.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLDKK w.d
Writes the monetary format of the local expression for Denmark, Faroe Island, and Greenland.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLEEK w.d
Writes the monetary format of the local expression for Estonia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLEGP w.d
Writes the monetary format of the local expression for Egypt.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLEUR w.d
Writes the monetary format of the local expression for Austria, Belgium, Finland, France, Germany, Greece, Ireland, Italy, Luxembourg, Malta, the Netherlands, Portugal, Slovenia, and Spain.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLGBP w.d
Writes the monetary format of the local expression for the United Kingdom.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLHKD w.d
Writes the monetary format of the local expression for Hong Kong.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLHRK w.d
Writes the monetary format of the local expression for Croatia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLHUF w.d
Writes the monetary format of the local expression for Hungary.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLIDR w.d
Writes the monetary format of the local expression for Indonesia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLILS w.d
Writes the monetary format of the local expression for Israel.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLINR w.d
Writes the monetary format of the local expression for India.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLJPY w.d
Writes the monetary format of the international expression for Japan.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLKRW w.d
Writes the monetary format of the local expression for South Korea.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLLTL w.d
Writes the monetary format of the local expression for Lithuania.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLLVL w.d
Writes the monetary format of the local expression for Latvia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLMOP w.d
Writes the monetary format of the local expression for Macau.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLMXN w.d
Writes the monetary format of the local expression for Mexico.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLMYR w.d
Writes the monetary format of the local expression for Malaysia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLNOK w.d
Writes the monetary format of the local expression for Norway.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLNZD w.d
Writes the monetary format of the local expression for New Zealand.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLPLN w.d
Writes the monetary format of the local expression for Poland.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLRUB w.d
Writes the monetary format of the local expression for Russia.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLSEK w.d
Writes the monetary format of the local expression for Sweden.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLSGD w.d
Writes the monetary format of the local expression for Singapore.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLTHB w.d
Writes the monetary format of the local expression for Thailand.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLTRY w.d
Writes the monetary format of the local expression for Turkey.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLTWD w.d
Writes the monetary format of the local expression for Taiwan.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLUSD w.d
Writes the monetary format of the local expression for Puerto Rico and the United States.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNLZAR w.d
Writes the monetary format of the local expression for South Africa.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNYI w.d
Writes the monetary format of the international expression in the specified locale.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLMNY w.d
Writes the monetary format of the local expression in the specified locale using local currency.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLNUMI w.d
Writes the numeric format of the international expression in the specified locale.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLNUM w.d
Writes the numeric format of the local expression in the specified locale.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLPCTI w.d
Writes percentage data of the international expression in the specified locale.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLPCTN w.d
Produces percentages, using a minus sign for negative values.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLPCTP w.d
Writes locale-specific numeric values as percentages.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLPCT w.d
Writes percentage data of the local expression in the specified locale.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLPVALUE w.d
Writes p-values of the local expression in the specified locale.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLSTRMON w.d
Writes the month name in the specified locale.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLSTRQTR w.d
Writes a numeric value as the quarter-of-the-year in the specified locale.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NLSTRWK w.d
Writes a numeric value as the day-of-the-week in the specified locale.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
NUMX w.d
Writes numeric values with a comma in place of the decimal point.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
OCTAL w.
Converts numeric values to octal representation.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
Writes data in packed decimal format.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
PDw.d
Writes values in packed decimal data.
Product: Base SAS
Document: SAS 9.3 Companion for Windows
Writes values in IBM packed decimal format.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS
PD w.d
Writes data in packed decimal format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
PERCENTN w.d
Produces percentages, using a minus sign for negative values.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
PERCENT w.d
Writes numeric values as percentages.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
PIBR w.d
Writes positive integer binary (fixed-point) values in Intel and DEC formats.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
Writes positive integer binary (fixed-point) values.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
PIBw.d
Writes values in positive integer-binary (fixed-point) format.
Product: Base SAS
Document: SAS 9.3 Companion for Windows
PIB w.d
Writes positive integer binary (fixed-point) values.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
PK w.d
Writes data in unsigned packed decimal format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
PVALUE w.d
Writes -values.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
Writes real binary (floating-point) data in real binary format.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
RBw.d
Writes values real-binary (floating-point) format.
Product: Base SAS
Document: SAS 9.3 Companion for Windows
Writes values in real binary (floating-point) format.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS
RB w.d
Writes real binary data (floating-point) in real binary format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
ROMAN w.
Writes numeric values as roman numerals.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
S370FF w.d
Writes native standard numeric data in IBM mainframe format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
S370FIBU w.d
Writes unsigned integer binary (fixed-point) values in IBM mainframe format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
S370FIB w.d
Writes integer binary (fixed-point) values, including negative values, in IBM mainframe format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
S370FPDU w.d
Writes unsigned packed decimal data in IBM mainframe format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
S370FPD w.d
Writes packed decimal data in IBM mainframe format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
S370FPIB w.d
Writes positive integer binary (fixed-point) values in IBM mainframe format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
S370FRB w.d
Writes real binary (floating-point) data in IBM mainframe format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
S370FZDL w.d
Writes zoned decimal leading–sign data in IBM mainframe format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
S370FZDS w.d
Writes zoned decimal separate leading-sign data in IBM mainframe format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
S370FZDT w.d
Writes zoned decimal separate trailing-sign data in IBM mainframe format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
S370FZDU w.d
Writes unsigned zoned decimal data in IBM mainframe format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
S370FZD w.d
Writes zoned decimal data in IBM mainframe format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
SSN w.
Writes Social Security numbers.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
VAXRB w.d
Writes real binary (floating-point) data in VMS format.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
VMSZNw.d
Generates VMS and MicroFocus COBOL zoned numeric data.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
Writes numeric data.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS
w.d
Writes standard numeric data one digit per byte.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
WORDF w.
Writes numeric values as words with fractions that are shown numerically.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
WORDS w.
Writes numeric values as words.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
YEN w.d
Writes numeric values with yen signs, commas, and decimal points.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
Writes numeric data in zoned decimal format.
Product: Base SAS
Document: SAS 9.3 Companion for UNIX Environments
ZDw.d
Writes zoned decimal data.
Product: Base SAS
Document: SAS 9.3 Companion for Windows
Writes zoned-decimal data.
Product: Base SAS
Document: SAS 9.3 Companion for z/OS
ZD w.d
Writes numeric data in zoned decimal format .
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference
Z w.d
Writes standard numeric data with leading 0s.
Product: Base SAS
Document: SAS 9.3 Formats and Informats: Reference