The @NUMPARTITIONS variable for DataStage appears to be for its parallel processing. In Talend, we deal with this in a different way. In fact, you should be aware that Talend is unlikely to follow the way DataStage performs many if any of its processes. You will need to understand the abstracted data processing logic for your existing jobs and then recreate that in Talend. You can't simply copy the way it was done in DataStage I am afraid.