Session Properties Action Set: Syntax
Provides actions for managing session properties
addFormat Action
Adds a format to a format library.
| Examples: | Create a New Format Library in Session Scope |
| Create a Locale-Specific Format |
CASL Syntax
Parameter Descriptions
dataType={"string-1" <, "string-2", ...>}
Indicates whether the value is DATE, TIME, or DATETIME.
defaultL=64-bit-integer
specifies the default length of the format.
| Default | -1 |
|---|
fill={"string-1" <, "string-2", ...>}
Indicates fill character for PICTURE format.
* fmtLibName="string"
specifies a name for the format library.
* fmtName="string"
specifies a name for the format.
| Restriction | A format name cannot end in a number, and it cannot be the same as the name of a format that is supplied by SAS. |
|---|---|
| Requirement | String must be a valid SAS name. For a numeric format, the name can be up to 32 characters by default. For a character format, the name should begin with a dollar sign ($) and can be up to 31 characters in length. The maximum length of the format name is controlled by SAS system option VALIDFMTNAME=, which defaults to 32 characters. See SAS System Options: Reference for details. |
fmtType="string"
Indicates the format type: PICTURE, INVALUE, or VALUE.
fuzz=double
specifies a fuzz factor for matching values to a range.
| Default | 0 |
|---|
locale="string"
specifies the locale to use in the format name locale prefix.
maxL=64-bit-integer
specifies a maximum length for the format, in bytes.
| Default | -1 |
|---|
minL=64-bit-integer
specifies a minimum length for the format, in bytes.
| Default | -1 |
|---|
mult={double-1 <, double-2, ...>}
Indicates multiplier for PICTURE format instead of computing based on decimal points.
| Default | 0 |
|---|
multiLabel=TRUE | FALSE
when set to True, multiple labels can be specified for the internal value.
| Default | FALSE |
|---|
noedit={"string-1" <, "string-2", ...>}
Indicates non-picture label for PICTURE format.
notSorted=TRUE | FALSE
when set to True, values or ranges are stored in the order in which they are defined.
| Default | FALSE |
|---|
prefix={"string-1" <, "string-2", ...>}
Indicates prefix characters for PICTURE format.
ranges={"string-1" <, "string-2", ...>}
specifies a list of value=label or range=label pairs. Ranges are specified as min-max=label.
| Requirement | You must use a dot (.) as the decimal separator when specifying decimal range values. The formatted values are automatically displayed with the appropriate decimal separator for the locale. See List the Ranges in a Format. |
|---|
replace=TRUE | FALSE
when set to True, an existing format of the same name is replaced with this format.
| Default | TRUE |
|---|
addFormat Action
Adds a format to a format library.
| Examples: | Create a New Format Library in Session Scope |
| Create a Locale-Specific Format |
Lua Syntax
Parameter Descriptions
dataType={"string-1" <, "string-2", ...>}
Indicates whether the value is DATE, TIME, or DATETIME.
defaultL=64-bit-integer
specifies the default length of the format.
| Default | -1 |
|---|
fill={"string-1" <, "string-2", ...>}
Indicates fill character for PICTURE format.
* fmtLibName="string"
specifies a name for the format library.
* fmtName="string"
specifies a name for the format.
| Restriction | A format name cannot end in a number, and it cannot be the same as the name of a format that is supplied by SAS. |
|---|---|
| Requirement | String must be a valid SAS name. For a numeric format, the name can be up to 32 characters by default. For a character format, the name should begin with a dollar sign ($) and can be up to 31 characters in length. The maximum length of the format name is controlled by SAS system option VALIDFMTNAME=, which defaults to 32 characters. See SAS System Options: Reference for details. |
fmtType="string"
Indicates the format type: PICTURE, INVALUE, or VALUE.
fuzz=double
specifies a fuzz factor for matching values to a range.
| Default | 0 |
|---|
locale="string"
specifies the locale to use in the format name locale prefix.
maxL=64-bit-integer
specifies a maximum length for the format, in bytes.
| Default | -1 |
|---|
minL=64-bit-integer
specifies a minimum length for the format, in bytes.
| Default | -1 |
|---|
mult={double-1 <, double-2, ...>}
Indicates multiplier for PICTURE format instead of computing based on decimal points.
| Default | 0 |
|---|
multiLabel=true | false
when set to True, multiple labels can be specified for the internal value.
| Default | false |
|---|
noedit={"string-1" <, "string-2", ...>}
Indicates non-picture label for PICTURE format.
notSorted=true | false
when set to True, values or ranges are stored in the order in which they are defined.
| Default | false |
|---|
prefix={"string-1" <, "string-2", ...>}
Indicates prefix characters for PICTURE format.
ranges={"string-1" <, "string-2", ...>}
specifies a list of value=label or range=label pairs. Ranges are specified as min-max=label.
| Requirement | You must use a dot (.) as the decimal separator when specifying decimal range values. The formatted values are automatically displayed with the appropriate decimal separator for the locale. See List the Ranges in a Format. |
|---|
replace=true | false
when set to True, an existing format of the same name is replaced with this format.
| Default | true |
|---|
addFormat Action
Adds a format to a format library.
| Examples: | Create a New Format Library in Session Scope |
| Create a Locale-Specific Format |
Python Syntax
Parameter Descriptions
dataType=["string-1" <, "string-2", ...>]
Indicates whether the value is DATE, TIME, or DATETIME.
defaultL=64-bit-integer
specifies the default length of the format.
| Default | -1 |
|---|
fill=["string-1" <, "string-2", ...>]
Indicates fill character for PICTURE format.
* fmtLibName="string"
specifies a name for the format library.
* fmtName="string"
specifies a name for the format.
| Restriction | A format name cannot end in a number, and it cannot be the same as the name of a format that is supplied by SAS. |
|---|---|
| Requirement | String must be a valid SAS name. For a numeric format, the name can be up to 32 characters by default. For a character format, the name should begin with a dollar sign ($) and can be up to 31 characters in length. The maximum length of the format name is controlled by SAS system option VALIDFMTNAME=, which defaults to 32 characters. See SAS System Options: Reference for details. |
fmtType="string"
Indicates the format type: PICTURE, INVALUE, or VALUE.
fuzz=double
specifies a fuzz factor for matching values to a range.
| Default | 0 |
|---|
locale="string"
specifies the locale to use in the format name locale prefix.
maxL=64-bit-integer
specifies a maximum length for the format, in bytes.
| Default | -1 |
|---|
minL=64-bit-integer
specifies a minimum length for the format, in bytes.
| Default | -1 |
|---|
mult=[double-1 <, double-2, ...>]
Indicates multiplier for PICTURE format instead of computing based on decimal points.
| Default | 0 |
|---|
multiLabel=True | False
when set to True, multiple labels can be specified for the internal value.
| Default | False |
|---|
noedit=["string-1" <, "string-2", ...>]
Indicates non-picture label for PICTURE format.
notSorted=True | False
when set to True, values or ranges are stored in the order in which they are defined.
| Default | False |
|---|
prefix=["string-1" <, "string-2", ...>]
Indicates prefix characters for PICTURE format.
ranges=["string-1" <, "string-2", ...>]
specifies a list of value=label or range=label pairs. Ranges are specified as min-max=label.
| Requirement | You must use a dot (.) as the decimal separator when specifying decimal range values. The formatted values are automatically displayed with the appropriate decimal separator for the locale. See List the Ranges in a Format. |
|---|
replace=True | False
when set to True, an existing format of the same name is replaced with this format.
| Default | True |
|---|
addFormat Action
Adds a format to a format library.
| Examples: | Create a New Format Library in Session Scope |
| Create a Locale-Specific Format |
R Syntax
Parameter Descriptions
dataType=list("string-1" <, "string-2", ...>)
Indicates whether the value is DATE, TIME, or DATETIME.
defaultL=64-bit-integer
specifies the default length of the format.
| Default | -1 |
|---|
fill=list("string-1" <, "string-2", ...>)
Indicates fill character for PICTURE format.
* fmtLibName="string"
specifies a name for the format library.
* fmtName="string"
specifies a name for the format.
| Restriction | A format name cannot end in a number, and it cannot be the same as the name of a format that is supplied by SAS. |
|---|---|
| Requirement | String must be a valid SAS name. For a numeric format, the name can be up to 32 characters by default. For a character format, the name should begin with a dollar sign ($) and can be up to 31 characters in length. The maximum length of the format name is controlled by SAS system option VALIDFMTNAME=, which defaults to 32 characters. See SAS System Options: Reference for details. |
fmtType="string"
Indicates the format type: PICTURE, INVALUE, or VALUE.
fuzz=double
specifies a fuzz factor for matching values to a range.
| Default | 0 |
|---|
locale="string"
specifies the locale to use in the format name locale prefix.
maxL=64-bit-integer
specifies a maximum length for the format, in bytes.
| Default | -1 |
|---|
minL=64-bit-integer
specifies a minimum length for the format, in bytes.
| Default | -1 |
|---|
mult=list(double-1 <, double-2, ...>)
Indicates multiplier for PICTURE format instead of computing based on decimal points.
| Default | 0 |
|---|
multiLabel=TRUE | FALSE
when set to True, multiple labels can be specified for the internal value.
| Default | FALSE |
|---|
noedit=list("string-1" <, "string-2", ...>)
Indicates non-picture label for PICTURE format.
notSorted=TRUE | FALSE
when set to True, values or ranges are stored in the order in which they are defined.
| Default | FALSE |
|---|
prefix=list("string-1" <, "string-2", ...>)
Indicates prefix characters for PICTURE format.
ranges=list("string-1" <, "string-2", ...>)
specifies a list of value=label or range=label pairs. Ranges are specified as min-max=label.
| Requirement | You must use a dot (.) as the decimal separator when specifying decimal range values. The formatted values are automatically displayed with the appropriate decimal separator for the locale. See List the Ranges in a Format. |
|---|
replace=TRUE | FALSE
when set to True, an existing format of the same name is replaced with this format.
| Default | TRUE |
|---|