User Defined mode

Use the User Defined mode to perform transfers using a script or batch file. It might be necessary, for example, to encrypt data before transferring it.

User-Supplied Options: Host Name, OS, and Path

When you use this mode, DCM executes an external command script instead of an internal command. The script must be located in the database_path\bin directory, and it must be named dcm_transfer for UNIX engines and dcm_transfer.bat for Windows engines. The script reports an error by returning a non-zero value. A zero value means that all commands were successful.

The script accepts 10 arguments, in the specified order:

  1. Destination database ID
  2. Destination server OS (UNIX or Windows)
  3. Destination server host name
  4. Destination server CCM_HOME installation area
  5. Source database ID
  6. Destination database path
  7. Transfer path
  8. Path to DCM data file or directory
  9. Path to DCM preview file
  10. Path to DCM info file

    The preceding arguments let you perform the automatic receive after the transfer is complete. To perform an automatic receive in a user-defined transfer script, turn ON the Automatic Receive toggle in the destination database definition.


Feedback