MuleSoft Connector for SASDataSets

Build 21.0.7940

Batch Processing

Use the Bulk Execute operation to combine multiple statements of the same data manipulation operation into one statement. When the Bulk Execute operation is invoked, the connector builds one API request for each type of operation.

Configuring Bulk Ops in the Visual Editor

To configure the operation in the Visual Editor, select the connector inside your flow and specify the following connector properties.

  • Connector Configuration: Select a connection you created. See Establishing a Connection for more information.
  • Operation: Choose Bulk Execute.
  • SQL Query: Enter one or more SQL statements. See the following examples. The statements can also contain expressions.

Bulk Insert

The following examples combine multiple inserts into a single SAS Data Sets request:

SQL

INSERT INTO Account (Name) VALUES ('Jon Doe'); INSERT INTO Account (Name) VALUES ('Floppy Disks');
XML
<cdata-SASDataSetsbulk-execute config-ref="CData_SASDataSets_Configuration" query="INSERT INTO Account (Name) VALUES ('Jon Doe'); INSERT INTO Account (Name) VALUES ('Floppy Disks');" doc:name="CData SASDataSets"/>

Bulk Update

The following examples combine multiple updates into a single SAS Data Sets request:

SQL

UPDATE Account SET Name='Jon Doe' WHERE Id = 'MyId1';UPDATE Account SET Name='Floppy Disks' WHERE Id = 'MyId2';
XML
<cdata-SASDataSetsbulk-execute config-ref="CData_SASDataSets_Configuration" query="UPDATE Account SET Name='Jon Doe' WHERE Id = 'MyId1';UPDATE Account SET Name='Floppy Disks' WHERE Id = 'MyId2';" doc:name="CData SASDataSets"/>

Bulk Delete

The following examples combine multiple deletes into a single SAS Data Sets request:

SQL

DELETE FROM Account WHERE Id = 'MyId1'; DELETE FROM Account WHERE Id = 'MyId2'; 
XML
<cdata-SASDataSetsbulk-execute config-ref="CData_SASDataSets_Configuration" query="DELETE FROM Account WHERE Id = 'MyId1'; DELETE FROM Account WHERE Id = 'MyId2'; " doc:name="CData SASDataSets"/>

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7940