Anytime a segment request is active, the CLIv2 Abort function may be used to abort processing.
Anytime a segment request is not active and before sending the last segment, processing may be cancelled by setting the appropriate Segment Data option and initiating another request (the Request Pointer and Request Length are ignored). The response from such a cancellation will be a Failure parcel.
After the first segment has been successful, segmenting is active even after CLIv2 return codes or Error parcels, and either must be completed normally, cancelled, or the session logged off.
If the server restarts, any segments that were received will be discarded and the next segment sent will receive a Failure response.