UploadDataSource Parameters and Valid Execution Modes

The valid execution mode for UploadDataSource is SYNCHR.

The parameters of UploadDataSource are as follows:

UploadDataSource Parameters
Name Semantics Type Valid Values Multi-plicity
Direction: In
DataSource
(Mandatory) The name of the data source to be uploaded. string Any existing data source name. 1...N
DataSourceFileName 
(Optional) Name of the data source file to be uploaded.

DataSourceURI, DataSourceFileName OR InDocument should be specified.

string Any valid filename relative to DataSourceURI. 0..1
DataSourceURI
(Optional) URI of the data source to be uploaded. The location is relative to MQ_COMMON_DIR.

DataSourceURI, DataSourceFileName OR InDocument should be specified.

string   0..1
InDocument
(Optional) See Common Parameters.

DataSourceURI, DataSourceFileName OR InDocument should be specified.

    0..1
Direction: Out
DataSources
WithErrors
(Optional) Number of data sources errored out.

Though it is possible to upload the same file to more than one data source, it is discouraged. If this parameter is not specified, and if any data source upload results in an error, an exception will be thrown.

long   0..1
ErrorFile If this parameter is set, an error file is created if there is an error when uploading the data source. This file is created in the directory specified by MQ_COMMON_DIR. string   0..1
TotalRecords
Attempted
(Optional) Number of rows from the input file considered for upload. long   0..1
TotalRecords
WithErrors
(Optional) Number of rows which could not be uploaded. long   0..1