How to create Job script templates - 6.5

Talend Job Script Reference Guide

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Design and Development > Designing Jobs
EnrichPlatform
Talend CommandLine
Talend Studio

In the Preferences dialog box of your Talend Studio, you can create and manage Job script templates.

To create a Job script template, follow the steps below.

Procedure

  1. In the Preferences dialog box, expand the Jobscript node and click Templates to open the Templates view.
  2. Click New... to open the New template wizard.
  3. In the Name field, type in the name of your template.
  4. In the Context list, select the context in which the template will be proposed in the Job script when you press Ctrl+Space.
  5. Select the Automatically insert check box if you want the template to expand automatically on Ctrl+Space when there is no other matching template available.
  6. In the Description field, type in a description of your template, if needed.
  7. In the Pattern field, type in the template content.
  8. Click Insert Variable... to insert a variable in your template.
  9. Click OK to go back to the template list, which displays the template you just created.
  10. Click Apply to apply the changes and click OK to close the dialog box.