Last Update: 26 June 2008
Product: StarSQL
Version: 5.x
Article ID: SQV00SQ003
StarSQL ships with an administrative tool (dsimport) that allows you to distribute data sources to your users. It eliminates the painstaking chore of manually reproducing data sources on each desktop in an enterprise environment. This technical document explains how to use dsimport.
There are two main ways to distribute data sources using dsimport. Both methods require that you install StarSQL on a test system, create the desired data sources, and export the registry entries for the given data sources. Once you have the exported data source registry file, you have two options:
You need to create and test the StarSQL data source(s) on the same platform that is used by the target clients. In other words, if the target clients run Windows XP, you must use a create the data sources to be distributed on a Windows XP system.
Click the Start button and select Run.
In the command field, enter "regedit".
For User data sources: HKEY_CURRENT_USER\Software\ODBC\ODBC.INI
For System data sources: HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI
Highlight the appropriate ODBC.INI and, from the File menu, choose Export.
Select 'Win9x/NT 4 Registration Files' as the Save as type.
If you only want to import a particular data source and not all of the data sources in the file, you can edit the DSIMPORT.TXT at this time.
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI]
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\DB2PROD]
"AutoTypDefNam"="QTDSQL400"
"AutoTypDefOvr"="37,0,0"
"UID"="DB2USER"
"Driver"="C:\\WINDOWS\\system32\\swodbc32.dll"
"Server"="DB2PROD"
"CatQual"="QSYS2"
"PkgColId"="STARSQL"
"Netlib"="SWTCP32.DLL"
"ReadOnly"="No"
"UseStaticMatch"="N"
"AutoBind"="N"
"Capture"="N"
"CaptureDDL"="N"
"ParameterMarkersOnly"="N"
"CaptureQryOnly"="N"
"SpecialColumns"="Y"
"CmdBufSiz"="32767"
"QryBufSiz"="32767"
"HostSec"="NO"
"StrictParsing"="Y"
"EE"="N"
"TwoPC"="N"
"WaitSess"="No"
"HostName"="PRODSYS"
"Port"="446"
"LiteralConversion"="Y"
"AllowSynonyms"="Y"
"TimeStampAsChar"="?"
"IncludeSynonyms"="Y"
"FetchAhead"="Y"
"KeepDynamic"="Y"
"SupDynRul"="N"
"LongStrParams"="N"
"AccessibleTables"="N"
"AutoSqlSet"="N"
"AccessFix1"="N"
"CacheUID"="Y"
"FoldUIDPWD"="N"
"NMFix"="N"
"UseEncryption"="N"
"CharacterSubstitution"="W"
"UseJumboPackages"="N"
"CustomizePrdid"="N"[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
"DB2PROD"="StarSQL 32"[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC File DSN]
"DefaultDSNDir"="C:\\Program Files\\Common Files\\ODBC\\Data Sources"
The information in technical documents comes without any warranty. The author(s) or distributor(s) will not accept responsibility for any damage incurred directly or indirectly through use of the information contained in these documents. The information in technical documents may be gathered from various sources, including IBM, Microsoft, and other organizations.