Tables Action Set: Syntax

Provides actions for accessing and managing data

upload Action

Transfers binary data to the server to create objects like tables.

CASL Syntax

table.upload < result = results> < status= rc> /
casOut={
caslib=" string",
label=" string",
name=" table-name",
onDemand=TRUE | FALSE,
promote=TRUE | FALSE,
replace=TRUE | FALSE,
replication= integer
}
* importOptions={ fileType="AUTO" | "BASESAS" | "CSV" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "JMP" | "LASR" | "MVA" | "SPSS" | "XLS", fileType-specific-parameters}
;

Parameter Descriptions

casOut={casouttablebasic}

specifies the settings for an output table.

To simplify, you can specify only a value for the name parameter. In this case, the other parameters in the list use default values.

For more information about this common parameter, see casouttablebasic.

Alias

* importOptions={fileType="AUTO" | "BASESAS" | "CSV" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "JMP" | "LASR" | "MVA" | "SPSS" | "XLS", fileType-specific-parameters}

specifies the settings for reading a table from a data source.

The value that you specify for fileType determines the other parameters that apply. For more information about this common parameter, see importOptions.

upload Action

Transfers binary data to the server to create objects like tables.

Lua Syntax

results, info = s: table_upload{
casOut={
caslib=" string",
label=" string",
name=" table-name",
onDemand=true | false,
promote=true | false,
replace=true | false,
replication= integer
},
* importOptions={ fileType="AUTO" | "BASESAS" | "CSV" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "JMP" | "LASR" | "MVA" | "SPSS" | "XLS", fileType-specific-parameters},
}

Parameter Descriptions

casOut={casouttablebasic}

specifies the settings for an output table.

To simplify, you can specify only a value for the name parameter. In this case, the other parameters in the list use default values.

For more information about this common parameter, see casouttablebasic.

Alias

* importOptions={fileType="AUTO" | "BASESAS" | "CSV" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "JMP" | "LASR" | "MVA" | "SPSS" | "XLS", fileType-specific-parameters}

specifies the settings for reading a table from a data source.

The value that you specify for fileType determines the other parameters that apply. For more information about this common parameter, see importOptions.

upload Action

Transfers binary data to the server to create objects like tables.

Python Syntax

results= s. table.upload(
casOut={
" caslib":" string",
" label":" string",
" name":" table-name",
" onDemand":True | False,
" promote":True | False,
" replace":True | False,
" replication": integer
},
* importOptions={ fileType="AUTO" | "BASESAS" | "CSV" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "JMP" | "LASR" | "MVA" | "SPSS" | "XLS", fileType-specific-parameters},
)

Parameter Descriptions

casOut={casouttablebasic}

specifies the settings for an output table.

To simplify, you can specify only a value for the name parameter. In this case, the other parameters in the list use default values.

For more information about this common parameter, see casouttablebasic.

Alias

* importOptions={fileType="AUTO" | "BASESAS" | "CSV" | "DTA" | "ESP" | "EXCEL" | "FMT" | "HDAT" | "JMP" | "LASR" | "MVA" | "SPSS" | "XLS", fileType-specific-parameters}

specifies the settings for reading a table from a data source.

The value that you specify for fileType determines the other parameters that apply. For more information about this common parameter, see importOptions.