You can add pieces of code by default at the beginning and at the end of the code of your Job.
From the menu bar, click Window > Preferences to open the [Preferences] dialog box.
Expand the Talend and Import/Export nodes in succession and then click Shell Setting to display the relevant view.
In the Command field, enter your piece/pieces of code before or after
%GENERATED_TOS_CALL%to display it/them before or after the code of your Job.