This write-up in actual is continuation with the previous one where we had explained “transaction in SSIS” written by a candidate who attended MSBI classroom training in Mumbai. This write-up will deal with checkpoints used in SSIS.
Now the concept of Checkpoint is different from Transaction. According to the definition Checkpoint starts from the last failed point whereas in Transaction it is All Fail or All Success. From the below figurethe error shown from the Progress tab which says that “The system cannot find the file specified” here we are using Checkpoint.
Here the error occurred because the Checkpoint Usage property is set to “Always” as shown in the figure down below.
The solution is very simple; we just have to change the Checkpoint Usage Property. Now there are three types of Checkpoint Usage property “Never, If Exists & Always”.
“Never” means the application doesn’t care whether there is a Checkpoint file present in the system or not.
“If Exists” means if the checkpoint file exists in the system then the application will provide all the details of the checkpoint there.
“Always” means the application sees to it that there should always be a checkpoint file in the system otherwise it will give us the error like the above one.
To solve this error we are selecting the checkpoint usage option as “If Exists”.
And set the path ofthat created empty text “checkpoint file”name under Properties as shown down below.
Now if we try to run the program it will run smoothly.
Here the error is detected at State Master. So now after resolving the error the checkpoint will start from State Master and continue to execute ahead.
With this practical hope that checkpoint is understood along difference between transaction and checkpoint. Excuse us in case if found some mistake in above write-up as it is written by candidate who attended recent MSBI training in Mumbai.