Table of Contents

Search

  1. Preface
  2. Mappings
  3. Mapping tutorial
  4. Parameters
  5. CLAIRE recommendations
  6. Data catalog discovery
  7. Visio templates

Mappings

Mappings

Parameter file requirements

Parameter file requirements

You can reuse parameter files across assets such as
mapping tasks, taskflows, and linear taskflows
. To reuse a parameter file, define local and global parameters within a parameter file.
You group parameters in different sections of the parameter file. Each section is preceded by a heading that identifies the project, folder, and asset to which you want to apply the parameter values. You define parameters directly below the heading, entering each parameter on a new line.
The following table describes the headings that define each section in the parameter file and the scope of the parameters that you define in each section:
Heading
Description
#USE_SECTIONS
Tells
Data Integration
that the parameter file contains asset-specific parameters. Use this heading as the first line of a parameter file that contains sections. Otherwise
Data Integration
reads only the first global section and ignores all other sections.
[Global]
Defines parameters for all projects, folders, tasks,
taskflows, and linear taskflows
.
[project name].[folder name].[taskflow name]
-or-
[project name].[taskflow name]
Defines parameters for tasks in the named taskflow only.
If a parameter is defined in a taskflow section and in a global section, the value in the taskflow section overrides the global value.
[project name].[folder name].[linear taskflow name]
-or-
[project name].[linear taskflow name]
Defines parameters for tasks in the named linear taskflow only.
If a parameter is defined in a linear taskflow section and in a global section, the value in the linear taskflow section overrides the global value.
[project name].[folder name].[task name]
-or-
[project name].[task name]
Defines parameters for the named task only.
If a parameter is defined in a task section and in a global section, the value in the task section overrides the global value.
If a parameter is defined in a task section and in a taskflow
or linear taskflow
section and the taskflow uses the task, the value in the task section overrides the value in the taskflow section.
If the parameter file does not contain sections,
Data Integration
reads all parameters as global.
Precede the parameter name with two dollar signs, as follows: $$<parameter>. Define parameter values as follows:
$$<parameter>=value $$<parameter2>=value2
For example, you have the parameters SalesQuota and Region. In the parameter file, you define each parameter in the following format:
$$SalesQuota=1000 $$Region=NW
The parameter value includes any characters after the equals sign (=), including leading or trailing spaces. Parameter values are treated as String values.

0 COMMENTS

We’d like to hear from you!