Setting environment variables
You can set project-wide defaults for general environment variables or ones specific to parallel jobs from this page.
Procedure
- You can also specify new variables. All of these are then available to be used in jobs. They are added to jobs in the same way as job parameters.
- To define environment variables, click the Environment... button.
The Environment Variables dialog box appears.
- Choose the type of environment variable for which you want to set a default from the tree in the left pane. A list of available variables appears in the right pane. You can select a new value for the variable in the Value column.
- To define a new variable, choose User Defined. A dialog box appears asking you to specify the name of the variable and a default value. You can also set a type for a user defined variable. Choose between string (the default) and encrypted. If you choose encrypted, a further dialog box requests you enter the encrypted string value and then confirm it.
- Click Export to export environment variables from a project to a file. See Exporting environment variables.
- Click Import to import environment variables from a file. See Importing environment variables.
- Click Set to Default to set the selected environment variable to its installed default value.
- Click All to Default to set the environment variables currently visible to their installed default values.
- Click Variable Help to get help information about the selected variable.
- Exporting environment variables
You can export environment variables to a file (*.env) from the Projects page in the IBM InfoSphere DataStage and QualityStage Administrator client. You can use the file to import environment variables from the file to other projects. - Importing environment variables
You can import environment variables from a file into a project. The imported environment variables can then apply to all jobs within that project.
Parent topic: General page