Guidelines for Entering Prompt Values (U.S. English Locale)
|
|
|
|
Enter any character
value. Blank spaces and nonprintable characters can be used, but the
value cannot consist completely of these characters. Trailing blanks
are stored as part of the value and are included when the value is
validated against the minimum and maximum length requirements.
|
|
|
Enter a standard numeric
value.
-
If you are working with an integer
prompt, then do not use values with decimal places. If you use a value
with zeros after the decimal point (for example, 1.00 ) for an integer prompt, then the zeros and the decimal point will
be removed before the value is stored (for example, 1.00 will be stored as 1 ).
-
For prompts that allow floating-point
values, the unformatted prompt value can contain up to 15 significant
digits. Values with more than 15 significant digits of precision are
truncated. Note that formatted values can have more than 15 significant
digits.
|
|
|
For dates of type Day,
enter values in one of the following formats:
-
-
ddmonth-nameyyyy (Java only)
-
-
-
-
-
-
-
-
month-name/dd/yy<yy> (Java only)
-
month-name.dd.yy<yy> (Java only)
-
month-name-dd-yy<yy> (Java only)
-
-
day-of-week,
mmm dd, yy (Java only)
-
day-of-week,
mmm dd, yyyy (Java only)
-
day-of-week,
month-name dd, yy (Java only)
-
day-of-week,
month-name dd, yyyy
-
-
-
-
-
-
yyyy.month-name.dd (Java only)
-
yyyy-month-name-dd (Java only)
Here is an explanation
of the syntax:
specifies either the
first three letters of the day of the week or the full name of the
day of the week. This value is not case sensitive.
specifies a one-digit
or two-digit integer that represents the day of the month.
specifies a one-digit
or two-digit integer that represents the month of the year.
specifies the first
three letters of the full name of the month, or the full name of the
month, respectively. This value is not case sensitive.
specifies a two-digit
or four-digit integer that represents the year. To refer to a year
that is more than 80 years in the past or 20 years in the future,
use four digits. Valid values for a four-digit year range from 1600
to 2400.
|
|
|
For dates of type Week,
enter values in one of the following formats:
Here is an explanation
of the syntax:
specifies a one-digit
or two-digit integer that represents the week of the year. Valid values
range from 1 to 52.
specifies a two-digit
or four-digit integer that represents the year. To refer to a year
that is more than 80 years in the past or 20 years in the future,
use four digits. Valid values for a four-digit year range from 1600
to 2400.
|
|
For dates of type Month,
enter values in one of the following formats:
-
-
-
-
-
-
-
-
month-name yy (Java only)
-
-
month-name/yy<yy> (Java only)
-
month-name.yy<yy> (Java only)
-
month-name-yy<yy> (Java only)
Here is an explanation
of the syntax:
specifies a one-digit
or two-digit integer that represents the month of the year.
specifies the first
three letters of the full name of the month, or the full name of the
month, respectively. This value is not case sensitive.
specifies a two-digit
or four-digit integer that represents the year. To refer to a year
that is more than 80 years in the past or 20 years in the future,
use four digits. Valid values for a four-digit year range from 1600
to 2400.
|
|
|
For dates of type Quarter,
enter values in the following format:
-
quarter-name quarter yy<yy>
Here is an explanation
of the syntax:
specifies the quarter
of the year. Valid values are 1st , 2nd , 3rd , and 4th .
specifies a two-digit
or four-digit integer that represents the year. To refer to a year
that is more than 80 years in the past or 20 years in the future,
use four digits. Valid values for a four-digit year range from 1600
to 2400.
|
|
For dates of type Year,
enter values in one of the following formats:
Here is an explanation
of the syntax:
specifies a two-digit
or four-digit integer that represents the year. To refer to a year
that is more than 80 years in the past or 20 years in the future,
use four digits. Valid values for a four-digit year range from 1600
to 2400.
|
|
|
Enter time values in
the following format:
Here is an explanation
of the syntax:
specifies a one-digit
or two-digit integer that represents the hour of the day. Valid values
range from 0 to 24.
specifies a one-digit
or two-digit integer that represents the minute of the hour. Valid
values range from 0 to 59.
specifies a one-digit
or two-digit integer that represents the second of the minute. Valid
values range from 0 to 59. If this value is not specified, then the
value defaults to 00 seconds.
specifies either the
time period 00:01 to 12:00 noon (AM) or the time period 12:01 to 12:00
midnight (PM). If this value is not specified and you are using the
12-hour system for specifying time, then the value defaults to AM . Do not specify AM or PM if you are using the 24-hour
system for specifying time.
|
|
|
Enter timestamp values
in the following format:
Here is an explanation
of the syntax:
specifies a four-digit
integer that represents the year. Valid values for a four-digit year
range from 1600 to 2400.
specifies a one-digit
or two-digit integer that represents the month of the year.
specifies a one-digit
or two-digit integer that represents the day of the month.
specifies a one-digit
or two-digit integer that represents the hour of the day. Valid values
range from 0 to 24.
specifies a one-digit
or two-digit integer that represents the minute of the hour. Valid
values range from 0 to 59.
specifies a one-digit
or two-digit integer that represents the second of the minute. Valid
values range from 0 to 59.
|
|
|
Enter color values in
one of the following formats:
Here is an explanation
of the syntax:
specifies the red component.
specifies the green
component.
specifies the blue
component.
Each component should
be specified as a hexadecimal value that ranges from 00 to FF, where
lower values are darker and higher values are brighter.
|
|
|
Enter the name and location
of a data source in the following format:
-
/folder-name-1/<.../folder-name-n/>data-source-name(type)
Here is an explanation
of the syntax:
/folder-name-1/<.../folder-name-n/>
specifies the location
of the data source.
specifies the name
of the data source.
is the type of data
source. The following values are valid unless otherwise noted: Table , InformationMap , and Cube . Use InformationMap for specifying either relational or OLAP information maps.
|
-
/Shared Data/Tables/OrionStar/Customers(Table)
-
/Users/MarcelDupree/My
Folder/My Information Map(InformationMap)
-
/MyCustomRepository/More
Data/Order_Facts(Table)
|
|
Enter the name and location
of a file or directory in the following format:
-
directory-specification<filename>
Here is an explanation
of the syntax:
specifies the location
of the file or directory in the file system of a SAS server.
specifies the name
of the file. This value is required only if the prompt is a file prompt.
Depending on the operating environment that the SAS server runs in,
you might need to put a forward slash (/) or a backslash (\) between
the directory specification and the name of the file.
|
-
C:\Documents and
Settings\All Users\Documents\myfile.txt
|
|
Enter the name and location
of a data library in the following format:
-
/folder-name-1/<.../folder-name-n/>library-name(Library)
Here is an explanation
of the syntax:
/folder-name-1/<.../folder-name-n/>
specifies the location
of the library.
specifies the name
of the library.
|
-
/Data/Libraries/Customer
Data Library(Library)
-
/MyCustomRepository/More
Data/OracleData(Library)
|
|
For the path element,
enter the path for a data source item in the following format:
-
/folder-name-1/<.../folder-name-n/>data-source-name(type)
Here is an explanation
of the syntax:
/folder-name-1/<.../folder-name-n/>
specifies the location
of the data source.
specifies the name
of the data source.
is the type of data
source. The following values are valid unless otherwise noted: Table or InformationMap . Use InformationMap for specifying
either relational or OLAP information maps.
For the itemName element,
enter the name for the data source item in the following format:
Here is an explanation
of the syntax:
specifies the name
of the data source item. This is the name of a column in a table or
a data item in an information map.
|
path
-
/Shared Data/Tables/MYDATA(Table)
|
|
For the uniqueName element,
enter the name of the OLAP member.
For the label element,
enter the label for the OLAP member.
|
|