Generating a Job created with a Job creation API using the CommandLine - 8.0

Talend Data Integration Studio User Guide

Version
8.0
Language
English (United States)
EnrichDitaval
Data Integration
Product
Talend Data Integration
Module
Talend Studio
Content
Design and Development

About this task

Talend offers you the possibility to create a data integration process without any user interface. You can write a script describing the properties of all the elements of your process: components, connections, contexts, etc. in a jobscript file and generate the corresponding Job via the CommandLine.

To do so:

Procedure

  1. Launch your CommandLine. For more information on how to launch the CommandLine, see Operating modes.
  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 Importing items.

    The creation of Job scripts and the generation of its corresponding Job design can also be done from Talend Studio which provides a user-friendly Job script API Editor.