FMTINFO Function
Retrieves information about a format or informat.
| Category: | Special |
| Restriction: | This function is not valid on the CAS server. |
Syntax
Required Arguments
fmtname
specifies the format or informat name.
info
specifies the category, type, or description of the format or informat.
CAT
specifies the category:
-
BIDI Text Handling
-
Character
-
Currency Conversion
-
Date and Time
-
DBCS
-
Hebrew Text Handling
-
ISO 8601
-
Numeric
TYPE
specifies the type of language element:
-
informat
-
format
-
both
DESC
specifies a short description of the format or informat.
MIND
specifies the minimum decimal value of the format or informat.
MAXD
specifies the maximum decimal value of the format or informat.
DEFD
specifies the default decimal value of the format or informat.
MINW
specifies the minimum width value of the format or informat.
MAXW
specifies the maximum width value of the format or informat.
DEFW
specifies the default width value of the format or informat.
Details
a=fmtinfo('best','cat'); is
valid because you specify only one argument, the category argument cat.
Example
|
Statement
|
Result
|
|---|---|
data;
a=fmtinfo('best','cat');
put a=;
run; |
a=num |
data;
a=fmtinfo('best','type');
put a=;
run; |
a=both |
data;
a=fmtinfo('best','desc');
put a=;
run; |
a=SAS System chooses best notation |