Alternative for TMsgBox in Linux OS

Six Stars

Alternative for TMsgBox in Linux OS

The final output of my job is a delimited file. This job was built using Windows OS but is intended to run in an Linux OS environment. As you are aware the Talend job can be run in both the environments using the .bat or .sh files. The last step in my job uses a TMsgBox to produce an information message saying the output file has been created at a certain file location. This works fine in windows but how do i get this feature running in an linux environment that i have to use putty to login to ?  Ideally if i have some information message appear in the batch or .sh file that will be take care of my needs. What is the alternative for TMsgBox for this scenario ?

 

Appreciate your input. Thanks

Employee

Re: Alternative for TMsgBox in Linux OS

Hi,

 

Instead of tMsgBox, I recommend you use:

- OnSubjobOK --> tFixedFlowInput ---- tLogRow

 

In the tFixedFlowInput, you will create a single record, and put the message there.  The tLogRow will write it to the job log as you want, i.e. columnar, row or tabular format.

The above will not be a pop up msgbox like activity though.

 

You can send an email with tSendEmail etc.  Batch jobs are meant to be run without a user having to manually click when events happen (even though you can do it if you want, but it is not the right design)

 

 

Six Stars

Re: Alternative for TMsgBox in Linux OS

Thanks for your input.

 

I wanted to see if there was an automated way of populating the .sh or .bat files through the job with this information. That will be the ideal solution for me. Thanks

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog