Updating an application in an existing environment

You can update application files and databases move either the entire application or the updates to an existing environment.

About this task

When Datacap Application Copy Tool updates an existing application, the destination .app file is not changed. Any keys that are added to Datacap Application Manager in the source application environment must be added to the destination application environment.

When you update an existing application, you can copy the actors, roles, and workflows that are associated with the application. The actors, roles, and workflows must be the same for the source and destination applications. The copy process might fail, if you copy only the workflows.

Procedure

To move an application into a new environment:

  1. At the prompt, type DAppCopy followed by these commands all on one line.
  2. In the -from command, specify the following options for the source environment.
    1. -an: the name of the Datacap application database to copy.
    2. -af: the path name of the folder from which to copy the Datacap application.
    3. -edb, -adb, -fdb: the connection strings that are used by the application database.
    4. -how: the migration option to use as online or datafile.
    5. -oapp: the type of migration to run as update.
  3. In the -to command, you specify the same options for the destination environment.

Example

In this example updated Medical Claims applications are moved from the source environment to the destination environment by using the online migration option. Both environments are using the DB2® database provider.

DAppCopy -from -an MClaims -af \\Development\Datacap\MClaims 
-adb "Provider=IBMDADB2;Hostname=Devhost;Database=MClaimsAdm;" 
-edb "Provider=IBMDADB2;Hostname=Devhost;Database=MClaimsEng;" 
-fdb "Provider=IBMDADB2;Hostname=Devhost;Database=MClaimsFP;" 
-how online
-to -an MClaims -af \\Production\Datacap\MClaims 
-adb "Provider=IBMDADB2;Hostname=Prodhost;Database=MClaimsAdm;" 
-edb "Provider=IBMDADB2;Hostname=Prodhost;Database=MClaimsEng;" 
-fdb "Provider=IBMDADB2;Hostname=Prodhost;Database=MClaimsFP;" 
-how online -oapp update