Table Action Set: Syntax
Provides actions for accessing and managing data
fetch Action
Fetches rows from a table or view.
| Example: | View Rows from a Table |
Summary: Input Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the table name, caslib, and other common parameters. |
Parameter Descriptions
fetchVars={{casinvardesc-1} <, {casinvardesc-2}, ...>}
specifies the column names from the input table. If you do not specify this parameter, then all columns are fetched.
For more information about specifying the fetchVars parameter, see the common casinvardesc parameter.
format=TRUE | FALSE
when set to True, formats are applied to the variables.
| Default | FALSE |
|---|
from=64-bit-integer
specifies the ordinal position of the first row to return.
| Default | 1 |
|---|
index=TRUE | FALSE
when set to True, adds a column named Index to the results that is to identify each row.
| Default | TRUE |
|---|
maxRows=integer
specifies the maximum number of rows to return per result table. The fetch action result table is divided into multiple result tables with a maximum row number set by the maxrows parameter. If you specify maxrows=0, then the fetch action does not return any rows.
| Default | 1000 |
|---|
sasTypes=TRUE | FALSE
when set to True, converts data to fixed-width character and double data types.
| Default | TRUE |
|---|
sortBy={{fetchorderbyelement-1} <, {fetchorderbyelement-2}, ...>}
specifies the variables and variable settings for sorting results.
| Alias | orderBy |
|---|
The fetchorderbyelement value can be one or more of the following:
formatted="FORMATTED" | "RAW"
specifies whether the formatted or raw value for the variable is used.
| Default | RAW |
|---|
* name="variable-name"
specifies the variable name to use for sorting.
order="ASCENDING" | "DESCENDING"
specifies whether the ascending or descending value for the variable is used.
| Default | ASCENDING |
|---|
sortLocale="string"
Locale to use for comparisons during sort.
sortMethodCutoff=double
specifies the cutoff point for choosing between two sort methods.
| Default | 2 |
|---|---|
| Range | 0–100 |
* table={castable}
specifies the table name, caslib, and other common parameters.
For more information about specifying the table parameter, see the common castable parameter.
to=64-bit-integer
specifies the ordinal position of the last row to return.
| Default | 20 |
|---|
fetch Action
Fetches rows from a table or view.
| Example: | View Rows from a Table |
Summary: Input Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the table name, caslib, and other common parameters. |
Parameter Descriptions
fetchVars={{casinvardesc-1} <, {casinvardesc-2}, ...>}
specifies the column names from the input table. If you do not specify this parameter, then all columns are fetched.
For more information about specifying the fetchVars parameter, see the common casinvardesc parameter.
format=true | false
when set to True, formats are applied to the variables.
| Default | false |
|---|
from=64-bit-integer
specifies the ordinal position of the first row to return.
| Default | 1 |
|---|
index=true | false
when set to True, adds a column named Index to the results that is to identify each row.
| Default | true |
|---|
maxRows=integer
specifies the maximum number of rows to return per result table. The fetch action result table is divided into multiple result tables with a maximum row number set by the maxrows parameter. If you specify maxrows=0, then the fetch action does not return any rows.
| Default | 1000 |
|---|
sasTypes=true | false
when set to True, converts data to fixed-width character and double data types.
| Default | true |
|---|
sortBy={{fetchorderbyelement-1} <, {fetchorderbyelement-2}, ...>}
specifies the variables and variable settings for sorting results.
| Alias | orderBy |
|---|
The fetchorderbyelement value can be one or more of the following:
formatted="FORMATTED" | "RAW"
specifies whether the formatted or raw value for the variable is used.
| Default | RAW |
|---|
* name="variable-name"
specifies the variable name to use for sorting.
order="ASCENDING" | "DESCENDING"
specifies whether the ascending or descending value for the variable is used.
| Default | ASCENDING |
|---|
sortLocale="string"
Locale to use for comparisons during sort.
sortMethodCutoff=double
specifies the cutoff point for choosing between two sort methods.
| Default | 2 |
|---|---|
| Range | 0–100 |
* table={castable}
specifies the table name, caslib, and other common parameters.
For more information about specifying the table parameter, see the common castable parameter.
to=64-bit-integer
specifies the ordinal position of the last row to return.
| Default | 20 |
|---|
fetch Action
Fetches rows from a table or view.
| Example: | View Rows from a Table |
Summary: Input Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the table name, caslib, and other common parameters. |
Parameter Descriptions
fetchVars=[{casinvardesc-1} <, {casinvardesc-2}, ...>]
specifies the column names from the input table. If you do not specify this parameter, then all columns are fetched.
For more information about specifying the fetchVars parameter, see the common casinvardesc parameter.
format=True | False
when set to True, formats are applied to the variables.
| Default | False |
|---|
from_=64-bit-integer
specifies the ordinal position of the first row to return.
| Default | 1 |
|---|
index=True | False
when set to True, adds a column named Index to the results that is to identify each row.
| Default | True |
|---|
maxRows=integer
specifies the maximum number of rows to return per result table. The fetch action result table is divided into multiple result tables with a maximum row number set by the maxrows parameter. If you specify maxrows=0, then the fetch action does not return any rows.
| Default | 1000 |
|---|
sasTypes=True | False
when set to True, converts data to fixed-width character and double data types.
| Default | True |
|---|
sortBy=[{fetchorderbyelement-1} <, {fetchorderbyelement-2}, ...>]
specifies the variables and variable settings for sorting results.
| Alias | orderBy |
|---|
The fetchorderbyelement value can be one or more of the following:
"formatted":"FORMATTED" | "RAW"
specifies whether the formatted or raw value for the variable is used.
| Default | RAW |
|---|
* "name":"variable-name"
specifies the variable name to use for sorting.
"order":"ASCENDING" | "DESCENDING"
specifies whether the ascending or descending value for the variable is used.
| Default | ASCENDING |
|---|
sortLocale="string"
Locale to use for comparisons during sort.
sortMethodCutoff=double
specifies the cutoff point for choosing between two sort methods.
| Default | 2 |
|---|---|
| Range | 0–100 |
* table={castable}
specifies the table name, caslib, and other common parameters.
For more information about specifying the table parameter, see the common castable parameter.
to=64-bit-integer
specifies the ordinal position of the last row to return.
| Default | 20 |
|---|
fetch Action
Fetches rows from a table or view.
| Example: | View Rows from a Table |
Summary: Input Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the table name, caslib, and other common parameters. |
Parameter Descriptions
fetchVars=list( list(casinvardesc-1) <, list(casinvardesc-2), ...>)
specifies the column names from the input table. If you do not specify this parameter, then all columns are fetched.
For more information about specifying the fetchVars parameter, see the common casinvardesc parameter.
format=TRUE | FALSE
when set to True, formats are applied to the variables.
| Default | FALSE |
|---|
from=64-bit-integer
specifies the ordinal position of the first row to return.
| Default | 1 |
|---|
index=TRUE | FALSE
when set to True, adds a column named Index to the results that is to identify each row.
| Default | TRUE |
|---|
maxRows=integer
specifies the maximum number of rows to return per result table. The fetch action result table is divided into multiple result tables with a maximum row number set by the maxrows parameter. If you specify maxrows=0, then the fetch action does not return any rows.
| Default | 1000 |
|---|
sasTypes=TRUE | FALSE
when set to True, converts data to fixed-width character and double data types.
| Default | TRUE |
|---|
sortBy=list( list(fetchorderbyelement-1) <, list(fetchorderbyelement-2), ...>)
specifies the variables and variable settings for sorting results.
| Alias | orderBy |
|---|
The fetchorderbyelement value can be one or more of the following:
formatted="FORMATTED" | "RAW"
specifies whether the formatted or raw value for the variable is used.
| Default | RAW |
|---|
* name="variable-name"
specifies the variable name to use for sorting.
order="ASCENDING" | "DESCENDING"
specifies whether the ascending or descending value for the variable is used.
| Default | ASCENDING |
|---|
sortLocale="string"
Locale to use for comparisons during sort.
sortMethodCutoff=double
specifies the cutoff point for choosing between two sort methods.
| Default | 2 |
|---|---|
| Range | 0–100 |
* table=list(castable)
specifies the table name, caslib, and other common parameters.
For more information about specifying the table parameter, see the common castable parameter.
to=64-bit-integer
specifies the ordinal position of the last row to return.
| Default | 20 |
|---|