This function corresponds to the ODBC catalog call of similar name. It and related functions are used by the virtual database to query remote data dictionaries.
The type argument must be either 'system' or 'user'.
Sets a data source attribute by calling SQLWritePrivateProfileString from the ODBC Installer API.
type denotes the DSN type.
others are passed to the SQLWritePrivateProfileString
Returns the SQL state.