Previous Topic: Predefined FiltersNext Topic: dtscli Command—View Transfer Status


dtscli Command—Use Transfer Aliases

Tracking all your transfer IDs is not easy. DTSCLI supports name aliases, which uses the transfer or transfer job label to refer to it rather than the number.

Example: Create and Activate a Job Using Aliases

Use labels for both the transfer and transfer job.

Follow these steps:

  1. Create a transfer using an alias and defer activation:
    dtscli -transfer "ipath=Gold::c:\dtstemp\file.src" 
    
    "rpath=Silver::c:\dtstemp\file.dest" 
    iuser=dts::dts 
    ruser=dts::dts
    label=WATER
    -mode defer
    

    The transfer is created. Notice the label.

  2. Create a transfer job using an alias:
    dtscli -job method=create label=FIRE
    

    The transfer job is created. Notice the label.

  3. Add the transfer to the transfer job:
    dtscli -job id=FIRE method=add method_parameters=WATER
    
  4. Activate the transfer:
    dtscli -job method=activate id=FIRE
    

Using the ADT Transfer Client, if installed, you can view the new transfer and transfer job that you have created and activated. However, you cannot view the labels.