How to generate a Job design from a Jobscript

Talend Data Management Platform Studio User Guide

EnrichVersion
6.2
EnrichProdName
Talend Data Management Platform
task
Data Quality and Preparation
Design and Development
EnrichPlatform
Talend Studio

You have the possibility to generate the graphical Job Design corresponding to your Jobscript.

You can do this using the Commandline, the equivalent of Talend Studio without GUI.

  1. Launch the CommandLine.

  2. Connect to your repository with the initLocal or initRemote commands. Example:

    initRemote http://localhost:8080/org.talend.administrator -ul admin@company.com -up admin

    The parameter values are given as examples and need to be replaced with your actual information (port, credentials). For more information on how to use these commands, see the help provided in the CommandLine.

  3. Connect to your project and branch/tag with the logonProject command. If you do not know the name of your project or branch/tag, type in the listProject -b command first. Example:

    logonProject -pn di_project -ul admin@company.com -up admin -br branches/v1.0.0

    The parameter values are given as examples and need to be replaced with your actual information (project/branch/tag name, credentials). For more information on how to use this command, see the help provided in the CommandLine.

  4. Type in the following command to generate a Job from your Job script:

    createJob NameOfJob -sf path\yourJobscript.jobscript

    The Job is created in your CommandLine workspace in the process folder: commandline-workspace\YourProjectName\process.

If you want to open this Job in Talend Studio, you will have to import it in the Talend Studio workspace first.

For more information on how to import items in Talend Studio, see How to import items.

With the graphical interface of the Studio, you can generate this Job using your Jobscript. Proceed as follows:

  1. In the Repository tree view, expand the Code node

  2. Expand the Job Scripts node and right-click the Job script you want to generate the Job Design of.

  3. Select Generate Job from the contextual menu. A Job with the same name as the Job script is created in the Job Designs node of the Repository. You can open it and execute it, if needed.