Given the following example: If Transfer A succeeds, skip Transfers B-D and perform Transfers E-G; but if Transfer A fails, perform Transfers B-D and skip Transfers E-G. If any other transfer besides Transfer A fails, abort the entire job.
Follow these steps:
dtscli "ipath=ipath" "rpath=rpath" ... -t cskip=3 fskip=0
dtscli "ipath=ipath" "rpath=rpath" ... -t cskip=0 fskip=-1
dtscli "ipath=ipath" "rpath=rpath" ... -t cskip=0 fskip=-1
If Transfers B and C succeed, the next transfer is activated, but if either transfer fails, the entire job aborts according to the original requirements for this example.
dtscli "ipath=ipath" "rpath=rpath" ... -t cskip=-1 fskip=-1
Note that Transfer D specifies -1 for both the cskip and fskip values. As a result, if Transfers B-D are performed, no more transfers are performed after Transfer D succeeds or fails.
dtscli "ipath=ipath" "rpath=rpath" ... -t cskip=0 fskip=-1
dtscli "ipath=ipath" "rpath=rpath" ... -t cskip=0 fskip=-1
If Transfers E and F succeed, the next transfer is activated, but if either transfer fails, the entire job aborts.
Note: No skip logic settings are needed for Transfer G, because it is the final transfer in the job.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|