Simple Analytics Action Set: Syntax
Provides actions for performing basic analytic functions
freq Action
Generates a frequency distribution for one or more variables.
| See: | Results |
|---|---|
| Example: | Generate a Frequency Distribution for a Variable |
Summary: Input and Output 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 |
|---|---|---|
|
— |
specifies an input table that contains the groups to use in a group-by analysis. | |
|
required parametertable |
— |
specifies the table name, caslib, and other common parameters. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the settings for an output table. |
Parameter Descriptions
attributes={{casinvardesc-1} <, {casinvardesc-2}, ...>}
specifies the variable attributes.
For more information about specifying the attributes parameter, see the common casinvardesc parameter.
| Aliases | attribute |
|---|---|
| attrs | |
| attr | |
| varAttrs |
casOut={casouttable}
specifies the settings for an output table.
For more information about specifying the casOut parameter, see the common casouttable parameter.
descending=TRUE | FALSE
when set to True, the levels of the group-by variables are arranged in descending order.
| Default | FALSE |
|---|
groupByLimit=64-bit-integer
specifies the maximum number of levels in a group-by set. When the server determines this number of levels, the server stops and does not return a result. Specify this parameter if you want to avoid creating large result sets in group-by operations.
| Minimum value | 1 |
|---|
groupbyTable={groupbytable}
specifies an input table that contains the groups to use in a group-by analysis.
| Long form | groupbyTable={name="table-name"} |
|---|---|
| Shortcut form | groupbyTable="table-name" |
The groupbytable value can be one or more of the following:
casLib="string"
specifies the caslib for the filter table. By default, the active caslib is used.
dataSourceOptions={adls_noreq-parameters | bigquery-parameters | cas_noreq-parameters | clouddex-parameters | db2-parameters | dnfs-parameters | esp-parameters | fedsvr-parameters | gcs_noreq-parameters | hadoop-parameters | hana-parameters | impala-parameters | informix-parameters | jdbc-parameters | mongodb-parameters | mysql-parameters | odbc-parameters | oracle-parameters | path-parameters | postgres-parameters | redshift-parameters | s3-parameters | sapiq-parameters | sforce-parameters | singlestore_standard-parameters | snowflake-parameters | spark-parameters | spde-parameters | sqlserver-parameters | ss_noreq-parameters | teradata-parameters | vertica-parameters | yellowbrick-parameters}
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter.
importOptions={fileType="ANY" | "AUDIO" | "AUTO" | "BASESAS" | "CSV" | "DOCUMENT" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "IMAGE" | "JMP" | "LASR" | "PARQUET" | "SPSS" | "VIDEO" | "XLS", fileType-specific-parameters}
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter.
* name="table-name"
specifies the name of the filter table.
where="where-expression"
specifies an expression for subsetting the data from the filter table.
includeMissing=TRUE | FALSE
when set to True, missing values are included in the determination of distinct values in frequency analysis.
| Default | TRUE |
|---|
inputs={{casinvardesc-1} <, {casinvardesc-2}, ...>}
specifies the input variables for the analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter.
| Alias | input |
|---|
raw=TRUE | FALSE
when set to True, the raw values are used for the variables. Setting this parameter to True overrides the rawOrder parameter and always orders the results by raw value.
| Default | FALSE |
|---|
rawOrder=TRUE | FALSE
when set to True, the ordering of the group-by variables is based on the raw values of the variables, not the formatted values.
| Default | FALSE |
|---|
* table={castable}
specifies the table name, caslib, and other common parameters.
For more information about specifying the table parameter, see the common castable parameter.
writePartOnTheFly=TRUE | FALSE
when set to True, the action writes to the output table after each by-group is processed.
| Aliases | writePart |
|---|---|
| writePartition | |
| Default | FALSE |
freq Action
Generates a frequency distribution for one or more variables.
| See: | Results |
|---|---|
| Example: | Generate a Frequency Distribution for a Variable |
Summary: Input and Output 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 |
|---|---|---|
|
— |
specifies an input table that contains the groups to use in a group-by analysis. | |
|
required parametertable |
— |
specifies the table name, caslib, and other common parameters. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the settings for an output table. |
Parameter Descriptions
attributes={{casinvardesc-1} <, {casinvardesc-2}, ...>}
specifies the variable attributes.
For more information about specifying the attributes parameter, see the common casinvardesc parameter.
| Aliases | attribute |
|---|---|
| attrs | |
| attr | |
| varAttrs |
casOut={casouttable}
specifies the settings for an output table.
For more information about specifying the casOut parameter, see the common casouttable parameter.
descending=true | false
when set to True, the levels of the group-by variables are arranged in descending order.
| Default | false |
|---|
groupByLimit=64-bit-integer
specifies the maximum number of levels in a group-by set. When the server determines this number of levels, the server stops and does not return a result. Specify this parameter if you want to avoid creating large result sets in group-by operations.
| Minimum value | 1 |
|---|
groupbyTable={groupbytable}
specifies an input table that contains the groups to use in a group-by analysis.
| Long form | groupbyTable={name="table-name"} |
|---|---|
| Shortcut form | groupbyTable="table-name" |
The groupbytable value can be one or more of the following:
casLib="string"
specifies the caslib for the filter table. By default, the active caslib is used.
dataSourceOptions={adls_noreq-parameters | bigquery-parameters | cas_noreq-parameters | clouddex-parameters | db2-parameters | dnfs-parameters | esp-parameters | fedsvr-parameters | gcs_noreq-parameters | hadoop-parameters | hana-parameters | impala-parameters | informix-parameters | jdbc-parameters | mongodb-parameters | mysql-parameters | odbc-parameters | oracle-parameters | path-parameters | postgres-parameters | redshift-parameters | s3-parameters | sapiq-parameters | sforce-parameters | singlestore_standard-parameters | snowflake-parameters | spark-parameters | spde-parameters | sqlserver-parameters | ss_noreq-parameters | teradata-parameters | vertica-parameters | yellowbrick-parameters}
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter.
importOptions={fileType="ANY" | "AUDIO" | "AUTO" | "BASESAS" | "CSV" | "DOCUMENT" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "IMAGE" | "JMP" | "LASR" | "PARQUET" | "SPSS" | "VIDEO" | "XLS", fileType-specific-parameters}
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter.
* name="table-name"
specifies the name of the filter table.
where="where-expression"
specifies an expression for subsetting the data from the filter table.
includeMissing=true | false
when set to True, missing values are included in the determination of distinct values in frequency analysis.
| Default | true |
|---|
inputs={{casinvardesc-1} <, {casinvardesc-2}, ...>}
specifies the input variables for the analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter.
| Alias | input |
|---|
raw=true | false
when set to True, the raw values are used for the variables. Setting this parameter to True overrides the rawOrder parameter and always orders the results by raw value.
| Default | false |
|---|
rawOrder=true | false
when set to True, the ordering of the group-by variables is based on the raw values of the variables, not the formatted values.
| Default | false |
|---|
* table={castable}
specifies the table name, caslib, and other common parameters.
For more information about specifying the table parameter, see the common castable parameter.
writePartOnTheFly=true | false
when set to True, the action writes to the output table after each by-group is processed.
| Aliases | writePart |
|---|---|
| writePartition | |
| Default | false |
freq Action
Generates a frequency distribution for one or more variables.
| See: | Results |
|---|---|
| Example: | Generate a Frequency Distribution for a Variable |
Summary: Input and Output 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 |
|---|---|---|
|
— |
specifies an input table that contains the groups to use in a group-by analysis. | |
|
required parametertable |
— |
specifies the table name, caslib, and other common parameters. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the settings for an output table. |
Parameter Descriptions
attributes=[{casinvardesc-1} <, {casinvardesc-2}, ...>]
specifies the variable attributes.
For more information about specifying the attributes parameter, see the common casinvardesc parameter.
| Aliases | attribute |
|---|---|
| attrs | |
| attr | |
| varAttrs |
casOut={casouttable}
specifies the settings for an output table.
For more information about specifying the casOut parameter, see the common casouttable parameter.
descending=True | False
when set to True, the levels of the group-by variables are arranged in descending order.
| Default | False |
|---|
groupByLimit=64-bit-integer
specifies the maximum number of levels in a group-by set. When the server determines this number of levels, the server stops and does not return a result. Specify this parameter if you want to avoid creating large result sets in group-by operations.
| Minimum value | 1 |
|---|
groupbyTable={groupbytable}
specifies an input table that contains the groups to use in a group-by analysis.
| Long form | groupbyTable={"name":"table-name"} |
|---|---|
| Shortcut form | groupbyTable="table-name" |
The groupbytable value can be one or more of the following:
"casLib":"string"
specifies the caslib for the filter table. By default, the active caslib is used.
"dataSourceOptions":{adls_noreq-parameters | bigquery-parameters | cas_noreq-parameters | clouddex-parameters | db2-parameters | dnfs-parameters | esp-parameters | fedsvr-parameters | gcs_noreq-parameters | hadoop-parameters | hana-parameters | impala-parameters | informix-parameters | jdbc-parameters | mongodb-parameters | mysql-parameters | odbc-parameters | oracle-parameters | path-parameters | postgres-parameters | redshift-parameters | s3-parameters | sapiq-parameters | sforce-parameters | singlestore_standard-parameters | snowflake-parameters | spark-parameters | spde-parameters | sqlserver-parameters | ss_noreq-parameters | teradata-parameters | vertica-parameters | yellowbrick-parameters}
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter.
"importOptions":{"fileType":"ANY" | "AUDIO" | "AUTO" | "BASESAS" | "CSV" | "DOCUMENT" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "IMAGE" | "JMP" | "LASR" | "PARQUET" | "SPSS" | "VIDEO" | "XLS", fileType-specific-parameters}
specifies the settings for reading a table from a data source.
| Alias | import_ |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter.
* "name":"table-name"
specifies the name of the filter table.
"where":"where-expression"
specifies an expression for subsetting the data from the filter table.
includeMissing=True | False
when set to True, missing values are included in the determination of distinct values in frequency analysis.
| Default | True |
|---|
inputs=[{casinvardesc-1} <, {casinvardesc-2}, ...>]
specifies the input variables for the analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter.
| Alias | input |
|---|
raw=True | False
when set to True, the raw values are used for the variables. Setting this parameter to True overrides the rawOrder parameter and always orders the results by raw value.
| Default | False |
|---|
rawOrder=True | False
when set to True, the ordering of the group-by variables is based on the raw values of the variables, not the formatted values.
| Default | False |
|---|
* table={castable}
specifies the table name, caslib, and other common parameters.
For more information about specifying the table parameter, see the common castable parameter.
writePartOnTheFly=True | False
when set to True, the action writes to the output table after each by-group is processed.
| Aliases | writePart |
|---|---|
| writePartition | |
| Default | False |
freq Action
Generates a frequency distribution for one or more variables.
| See: | Results |
|---|---|
| Example: | Generate a Frequency Distribution for a Variable |
Summary: Input and Output 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 |
|---|---|---|
|
— |
specifies an input table that contains the groups to use in a group-by analysis. | |
|
required parametertable |
— |
specifies the table name, caslib, and other common parameters. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the settings for an output table. |
Parameter Descriptions
attributes=list( list(casinvardesc-1) <, list(casinvardesc-2), ...>)
specifies the variable attributes.
For more information about specifying the attributes parameter, see the common casinvardesc parameter.
| Aliases | attribute |
|---|---|
| attrs | |
| attr | |
| varAttrs |
casOut=list(casouttable)
specifies the settings for an output table.
For more information about specifying the casOut parameter, see the common casouttable parameter.
descending=TRUE | FALSE
when set to True, the levels of the group-by variables are arranged in descending order.
| Default | FALSE |
|---|
groupByLimit=64-bit-integer
specifies the maximum number of levels in a group-by set. When the server determines this number of levels, the server stops and does not return a result. Specify this parameter if you want to avoid creating large result sets in group-by operations.
| Minimum value | 1 |
|---|
groupbyTable=list(groupbytable)
specifies an input table that contains the groups to use in a group-by analysis.
| Long form | groupbyTable=list(name="table-name") |
|---|---|
| Shortcut form | groupbyTable="table-name" |
The groupbytable value can be one or more of the following:
casLib="string"
specifies the caslib for the filter table. By default, the active caslib is used.
dataSourceOptions=list(adls_noreq-parameters | bigquery-parameters | cas_noreq-parameters | clouddex-parameters | db2-parameters | dnfs-parameters | esp-parameters | fedsvr-parameters | gcs_noreq-parameters | hadoop-parameters | hana-parameters | impala-parameters | informix-parameters | jdbc-parameters | mongodb-parameters | mysql-parameters | odbc-parameters | oracle-parameters | path-parameters | postgres-parameters | redshift-parameters | s3-parameters | sapiq-parameters | sforce-parameters | singlestore_standard-parameters | snowflake-parameters | spark-parameters | spde-parameters | sqlserver-parameters | ss_noreq-parameters | teradata-parameters | vertica-parameters | yellowbrick-parameters)
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter.
importOptions=list(fileType="ANY" | "AUDIO" | "AUTO" | "BASESAS" | "CSV" | "DOCUMENT" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "IMAGE" | "JMP" | "LASR" | "PARQUET" | "SPSS" | "VIDEO" | "XLS", fileType-specific-parameters)
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter.
* name="table-name"
specifies the name of the filter table.
where="where-expression"
specifies an expression for subsetting the data from the filter table.
includeMissing=TRUE | FALSE
when set to True, missing values are included in the determination of distinct values in frequency analysis.
| Default | TRUE |
|---|
inputs=list( list(casinvardesc-1) <, list(casinvardesc-2), ...>)
specifies the input variables for the analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter.
| Alias | input |
|---|
raw=TRUE | FALSE
when set to True, the raw values are used for the variables. Setting this parameter to True overrides the rawOrder parameter and always orders the results by raw value.
| Default | FALSE |
|---|
rawOrder=TRUE | FALSE
when set to True, the ordering of the group-by variables is based on the raw values of the variables, not the formatted values.
| Default | FALSE |
|---|
* 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.
writePartOnTheFly=TRUE | FALSE
when set to True, the action writes to the output table after each by-group is processed.
| Aliases | writePart |
|---|---|
| writePartition | |
| Default | FALSE |