# Modifying a variable during a Job execution

The following scenario is made of two Jobs parent and child. With the tSetEnv component, you can transfer and modify in a child Job a value created in a parent Job. As part of this Job, the tMsgBox components allow you to display, for information purposes only, that a variable is properly set, via an info-box.

To modify the value of the parent Job by using a variable set in the tSetEnv component, do as described in the following sections:

### In this section

* [Drop and link components](https://help.qlik.com/talend/en-US/components/8.0/system/tsetenv-trunjob-tmsgbox-trunjob-tmsgbox-drop-and-link-components-standard-component-create)
* [Set the components](https://help.qlik.com/talend/en-US/components/8.0/system/tsetenv-trunjob-tmsgbox-trunjob-tmsgbox-set-components-standard-component-in-this)
* [Run the Job](https://help.qlik.com/talend/en-US/components/8.0/system/tsetenv-trunjob-tmsgbox-trunjob-tmsgbox-run-job-standard-component-three)

**Related concepts**

* [tRunJob](https://help.qlik.com/talend/en-US/components/8.0/system/trunjob "Manages complex Job systems which need to execute one Job after another.")

**Related reference**

* [tSetEnv](https://help.qlik.com/talend/en-US/components/8.0/system/tsetenv "Adds variables temporarily to system environment during the execution of a Job.")

**Related information**

* [tMsgBox](https://help.qlik.com/talend/en-US/components/8.0/tmsgbox/tmsgbox)