Changing the database provider
You copy the Datacap application databases that exist in a database provider and move them to another database provider. For example, you can move application databases from a Microsoft Access database in one environment to a DB2® database in another environment.
About this task
Procedure
To change the database provider:
Example
In this example APT application databases are moved from Microsoft SQL Server in the source environment to DB2 in the destination environment by using the online migration option.
DAppCopy -from -an APT -af c:\Datacap\APTSQL
-adb "Provider=SQLOLEDB;Data Source=localhost;Initial Catalog=APTAdm;"
-edb "Provider=SQLOLEDB;Data Source=localhost;Initial Catalog=APTEng;"
-fdb "Provider=SQLOLEDB;Data Source=localhost;Initial Catalog=APTFP;"
-how online
-to -af C:\Datacap\APTDB2
-adb "Provider=IBMDADB2;Server=MyDB2:5000;Database=APTAdm;UID=myUserName;PWD=myPassword;"
-edb "Provider=IBMDADB2;Server=MyDB2:5000;Database=APTEng;UID=myUserName;PWD=myPassword;"
-fdb "Provider=IBMDADB2;Server=MyDB2:5000;Database=APTFP;UID=myUserName;PWD=myPassword;"
-how onlineDAppCopy -from -an APT -af C:\Datacap\APT