User defined mode

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

The User Defined mode lets you use a script or batch file to perform transfers. It might be necessary, for example, to encrypt data before transferring it.

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