• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Global var/context var and access in differents jobs

#1 2008-02-26 17:30:06

fabko
Member
Registered: 2007-11-30
Posts: 16

Global var/context var and access in differents jobs

Hi,

Is it possible to use a global var defined in a job (with a tSetGlobalVar) from an other job? This topic says no, but it was writed in 2006... smile

In fact, I want to access to a data used by some jobs. Context var seems to work as global var (accessible in the job only), no?
Can you help me please? smile

Thanks.
Fabien

Offline

#2 2008-02-26 17:53:57

cahsohtoa
Member
Company: AEFE
Registered: 2008-02-19
Posts: 261
Website

Re: Global var/context var and access in differents jobs

You can use a context var if you call the job from the job where you define the context var.

Offline

#3 2008-02-27 08:59:58

shong
Talend team
Registered: 2007-08-29
Posts: 10309
Website

Re: Global var/context var and access in differents jobs

Hi Fabien

The variable defined by tSetGlobalVar can't be used in other jobs.
As cahsohtoa said, you can define the context var and use the tRunJob to pass the parameter from one job to anther.
see [Forum, topic 1654] Passing context parameters in a tRunJob

Best regards

          shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Global var/context var and access in differents jobs

Board footer

Powered by FluxBB