Professional Documents
Culture Documents
Workflow Manager, you define a set of instructions called a workflow to execute mappings you build in the
Designer. Generally, a workflow contains a session and any other task you may want to perform when
you run a session. Tasks can include a session, email notification, or scheduling information. A workflow
is a set of instructions that tells the Integration Service how to run tasks such as sessions, email
notifications, and shell commands.
Workflow Tasks
1. Assignment.
2. Command
3. Control
4. Decision
5. Email
6. Event- Raise
7. Event-Wait
8. Session
9. Timer
Steps to develop Workflow
1. Create a workflow. Create a workflow in the Workflow Designer
2. Add tasks to the workflow. You might have already created tasks in the Task
Developer. Or, you can add tasks to the workflow as you develop the workflow in the
Workflow Designer.
3. Connect tasks with links. After you add tasks to the workflow, connect them with
links to specify the order of execution in the workflow.
4. Specify conditions for each link. You can specify conditions on the links to create
branches and dependencies
5. Validate workflow. Validate the workflow in the Workflow Designer to identify errors.
6. Save workflow. When you save the workflow, the Workflow Manager validates the
workflow and updates the repository.
7. Run workflow. In the workflow properties, select an Integration Service to run the
workflow. Run the workflow from the Workflow Manager, Workflow Monitor, or pmcmd.
You can monitor the workflow in the Workflow Monitor.
à Before you can run a workflow, you must assign an Integration Service to run it. You can choose an
Integration Service to run a workflow by editing the workflow properties. You can also assign an
Integration Service from the menu ( Workflows > Edit. Or ServicesàAssign Integration service)
Links
Use links to connect each workflow task. You can specify conditions with links to create
branches in the workflow. The Workflow Manager does not allow you to use links to
create loops in the workflow. Each link in the workflow can run only once.
Link Conditions
Use predefined or user-defined workflow variables in the link condition. If the link
condition evaluates to True, the Integration Service runs the next task in the workflow. If
the link condition evaluates to False, the Integration Service does not run the next task
in the workflow.
Scheduling a Workflow
à By default, the workflow runs on demand. à Each workflow has an associated scheduler. A scheduler is
a repository object that contains a set of schedule settings. You can create a non-reusable scheduler for
the workflow
à To create a reusable scheduler:
1. In the Workflow Designer, click Workflows > Schedulers.
Sessions
à A session is a set of instructions that tells the Integration Service how and when to move data from
sources to targets.
The session has the following tabs, and each of those tabs has multiple settings:
♦ General tab. Enter session name, mapping name, and description for the Session
task, assign resources, and configure additional task options.
♦ Properties tab. Enter session log information, test load settings, and performance
configuration.
♦ Config Object tab. Enter advanced settings, log options, and error handling
configuration.
♦ Mapping tab. Enter source and target information, override transformation properties,
and configure the session for partitioning.
♦ Components tab. Configure pre- or post-session shell commands and emails.
♦ Metadata Extension tab. Configure metadata extension options.
Understanding Buffer Memory
à When you run a session, the Integration Service process starts the Data
Transformation Manager (DTM). The DTM allocates buffer memory to the session at
runtime based on the DTM Buffer Size setting in the session properties.
à The Integration Service allocates at least two buffer blocks for each source and target partition. Use the
following calculation to determine buffer block requirements:
[(total number of sources + total number of targets)* 2] = (session buffer blocks)
You configure buffer memory settings by adjusting the following session parameters:
♦ DTM Buffer Size. The DTM buffer size specifies the amount of buffer memory the Integration Service
uses when the DTM processes a session. Configure the DTM buffer size on the Properties tab in the
session properties.
♦ Default Buffer Block Size. The buffer block size specifies the amount of buffer memory used to move a
block of data from the source to the target. Configure the buffer block size on the Config Object tab in the
session properties
The Integration Service specifies a minimum memory allocation for the buffer memory and buffer blocks.
By default, the Integration Service allocates 12,000,000 bytes of memory to the buffer memory and
64,000 bytes per block.
Configuring Automatic Memory Settings
à You can configure the Integration Service to determine buffer memory size and session cache size at
runtime. When you run a session, the Integration Service allocates buffer memory to the session to move
the data from the source to the target.
à You enable automatic memory settings by configuring a value for the Maximum Memory Allowed for
Auto Memory Attributes or the Maximum Percentage of Total Memory Allowed for Auto Memory
Attributes. If the value is set to zero for either of these attributes, the Integration Service disables
automatic memory settings and uses default values.
4.Enter a value for the Maximum Memory Allowed for Auto Memory Attributes.
This value specifies the maximum amount of memory to use for session caches.
Note: You must enable automatic memory settings by configuring a value for the
Maximum Memory Allowed for Auto Memory Attributes and the Maximum Percentage of
Total Memory Allowed for Auto Memory Attributes. If either of these values is set to
zero, the Integration Service disables automatic memory settings and uses default
values.
5.Enter a value for the Maximum Percentage of Total Memory Allowed for Auto Memory
Attributes.
This value specifies the maximum percentage of total memory the session caches may
use.
Note: You must enable automatic memory settings by configuring a value for the
Maximum Memory Allowed for Auto Memory Attributes and the Maximum Percentage of
Total Memory Allowed for Auto Memory Attributes. If either of these values is set to
zero, the Integration Service disables automatic memory settings and uses default
values.
àYou can configure a session to collect performance details and store them in the
PowerCenter repository. Collect performance details for a session to view performance
details while the session runs.
à If you configure the session to store performance details, you must also configure the Integration
Service that runs the session to store the run-time information at the verbose level.
Error Handling
à You can configure error handling on the Config Object tab. You can choose to stop or continue the
session if the Integration Service encounters an error issuing the pre- or post- session SQL command.
Session Parameters
Session parameters represent values you can change between session runs, such as
database connections or source and target files. You use a session parameter in
session or workflow properties and define the parameter value in a parameter file. You
can also create workflow variables in the workflow properties and define the values in a
parameter file.
Naming Conventions
In a parameter file, folder and session names are case sensitive. You need to use the
appropriate prefix for all user-defined session parameters.