Use the INFA_CTIsTerminated() function when you want the procedure to check if the PowerCenter Client has requested the Integration Service to stop the session. You might call this function if the procedure includes a time-consuming process.
Use the following syntax:
INFA_CTTerminateType INFA_CTIsTerminated(INFA_CT_PARTITION_HANDLE handle);
The following table describes the argument for this function:
The return value datatype is INFA_CTTerminateType. The Integration Service returns one of the following values:
Indicates the PowerCenter Client has not requested to stop the session.
Indicates the Integration Service aborted the session.
Indicates the Integration Service failed the session.