DataSourceAttributeReplace dsar
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
Changes the value of a server data source attribute.
Syntax
{DataSourceAttributeReplace | dsar} service_name data_source_name attribute_name value
where:
service_name is the name of a data access service. Service names can be obtained using the ServiceList | sl command.
data_source_name is the name of the server data source you want to modify. This server data source must belong to the data access service you specified.
attribute_name is the attribute for which you want to change the value.
value is the new value of the attribute.
See OpenAccess SDK Service Attributes for a list of service attributes and their valid values.
Example
The following example changes the value of the DataSourceCurrentCatalog attribute in the DS_Employees server data source that belongs to the OpenAccessSDK810_C data access service. The value is changed to partners.
dsar OpenAccessSDK810_C DS_Employees DataSourceCurrentCatalog partners