Create a Talend Job

A Talend Job is where we design our job or perform the transformation. Creating a job allows you to use or access the available components such as Connections, Transformations (fields), and outputs. So, the Job helps you take input from different sources, perform some operations (transformation), and store it in the desired output on a whole ETL operation.

How to Create a Talend Job?

To create a Job, right-click on the Job Design folder in a repository and select the Create Job option from the context menu. Or, if you want to export the created job, you can do it by using the Export items option.

If you have an existing job or prebuilt job, you can import that using the Talend import items option. Here, the Create folder creates a new folder that helps to divide the jobs.

Create Job in Talend 1

Clicking on the create job option will open the following New Job window.

  • Name: Specify the Unique Job name.
  • Purpose: Purpose of designing or creating this Job.
  • Description: Write a brief description of Job functionality.

We have given the name as the First_Job and left the Purpose and Description empty (not recommended in real-time).

Assign a Name and Click the Finish button

Now you can see our newly created job in the Repository Job Design section. To demonstrate the complete process of the Job design, we use a simple Custom Code field called tJava.

Drag and drop the tJava field from the pallet to the job design space. Within the Job tab, you can see the Job name, author, created and modified date and time, version, etc. The contexts tab to work or use the local and global contexts for this Talend Job.

Drag tJava component from palette to Newly created Talent Job designer

The Component tab is the one we mostly work on for any transformation or field. Here, we are using simple print line statements to print two messages. Please refer to the Java Tutorial page to understand Java. The code that we used in the below image is

System.out.println("Hello World!");

System.out.println("Welcome to Tutorial Gateway");
Write a tJava code to print welcome message

You can Run this Job by clicking the get Run button present in the Run tab or clicking on the tiny play button in the toolbar. As you can see from the below screenshot, Talend Job ran successfully, and you can see the messages as well!

Result