04.12.2012 Views

ASE ODBC Driver and OLE DB Provider Migration Technical - Sybase

ASE ODBC Driver and OLE DB Provider Migration Technical - Sybase

ASE ODBC Driver and OLE DB Provider Migration Technical - Sybase

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6<br />

11 autOMatic data sOuRce Backups<br />

In order to preserve <strong>and</strong> allow users to refer to migrated OEM data sources, the migration tools automatically create a<br />

backup of the migrated data source by adding the suffix ‘backup’ to the original name. For example, an OEM data source<br />

named ‘Test’ will be migrated to <strong>Sybase</strong> as ‘Test’, <strong>and</strong> the original OEM data source will be renamed to ‘Test-backup’.<br />

12 hOw tO MigRate a LaRge nuMBeR Of cLients<br />

When your migration involves a large number of clients, it may not be practical to migrate each client individually<br />

due to time constraints or in order to maintain consistency throughout the enterprise. Therefore, it is recommended<br />

that in these scenarios the comm<strong>and</strong> line utility ‘dsnmigrate.exe’ be used in a batch procedure with the appropriate<br />

argument to migrate either all, or the desired category, of data sources.<br />

For example, the ‘/a’, ‘/ua’, <strong>and</strong> ‘/sa’ arguments provide for migrating groups of data sources. The /dsn argument can<br />

be used to specify a specific data source for migration.<br />

13 deveLOping new appLicatiOns using syBase OdBc <strong>and</strong> OLe dB pROvideRs<br />

Developing applications using the <strong>Sybase</strong> drivers is consistent with developing applications using other OEM <strong>O<strong>DB</strong>C</strong><br />

<strong>and</strong> <strong>OLE</strong><strong>DB</strong> drivers that are 100% compliant at the API level; therefore, an <strong>O<strong>DB</strong>C</strong> application, for example, written for an<br />

OEM driver that is fully API compliant with the <strong>O<strong>DB</strong>C</strong> specification, will compile <strong>and</strong> run successfully with the <strong>Sybase</strong><br />

organic driver.<br />

14 testing cOnsideRatiOns<br />

As with any development project, it is highly recommended that customers test their applications prior to full<br />

deployment in order to detect <strong>and</strong> rectify errors that may have been introduced in the migration process.<br />

15 cOnnectiOn pROpeRty MatRix<br />

For situations where the application developer needs to know the connection property names on “DSN-less”<br />

connection strings, this matrix is provided as a matter of convenience.<br />

The format will provide the property names as seen in the registry <strong>and</strong> the <strong>O<strong>DB</strong>C</strong> Data Source Administrator (GUI).<br />

If the DataDirect property name in the GUI is different than the actual property name, the name will be provided in<br />

parentheses.<br />

For the <strong>Sybase</strong> <strong>O<strong>DB</strong>C</strong> <strong>Driver</strong>, property names are present in the registry in lowercase. In this matrix, mixed-case is<br />

used for ease of reading. You can use mixed-case in a connection string.<br />

In some cases, a sample value is provided for the <strong>Sybase</strong> <strong>Driver</strong> property.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!