You can define an Informatica job to start a predefined workflow on Informatica PowerCenter. You can start the workflow from the beginning of the workflow or from a specified task. You can also start a workflow instance.
Notes:
Follow these steps:
The Application appears in the workspace.
The Informatica icon appears on the Application workspace view.
The Basic page of the Informatica dialog opens.
Defines the name of the job that you want to schedule.
Limits: 128 alphanumeric characters, plus the special characters commercial at (@), pound (#), dollar sign ($), underscore (_), square brackets ([]), brace brackets ({}), and percent sign (%) as a symbolic variable introducer character.
Specifies the name of the agent that runs the Informatica job.
Note: The drop-down list displays all the agents that are defined in the Topology for the specified job type.
Specifies the Informatica PowerCenter repository folder name where the specified workflow resides. You can obtain this value from the Informatica server.
Limits: Up to 79 characters
Specifies the name of the Informatica PowerCenter workflow to be started.
Limits: Up to 79 characters
Note: You can type the workflow name or, if you are connected to the server, click the arrow search button next to the field to search for a workflow that is defined in Informatica PowerCenter. You can also view the sequence of tasks and the hierarchy of objects within a selected workflow.
Specifies the name of the Informatica target (infaTarget). The corresponding directory (install_dir/config/informatica/infaTarget) stored on the agent contains the properties for connecting to the Informatica server and one or more database repositories.
Limits: Up to 128 characters
Note: If this field is not specified, the agent uses the default value specified in the informatica.server.target.default parameter in the agentparm.txt file.
Specifies the name of the repository created on the Informatica server. The repository can be obtained from the Informatica Administrative console. The corresponding property file (repositoryName.properties) stored on the agent contains the database connection properties for a specified Informatica target (infaTarget).
Limits: Up to 128 characters
Note: If this field is not specified, the agent uses the default value specified in the informatica.repository.name.default parameter in the informatica.properties file stored on the agent.
Specifies the Informatica server user name. The user must be defined in the Topology. This field supports the use of a namespace for a user that has more than one password. Contact your administrator for the user name defined in the Topology.
Limits: Up to 128 characters
Examples: Bob, Production:Bob
Notes:
Specifies the name of the workflow instance to be started. When the task name and the workflow instance name are specified, the workflow instance is started from the specified task. When the task name is not specified, the workflow instance starts from the beginning. If the instance name is not specified, the workflow is started.
Limits: Up to 79 characters
Note: Before you select a workflow instance from the drop-down, you must specify the workflow in the Workflow name field. The workflow instances in the drop-down list are populated based on the specified workflow.
Specifies the name of the task to start the workflow from. If the task name is not specified, the workflow starts from the beginning.
Limits: Up to 79 characters
Note: You can type the task name or, if you are connected to the server, click the arrow search button next to the field to search for a task that is defined within the specified workflow. You can also view the details and the hierarchy of a selected task within the workflow.
Specifies the path and name of a parameter file on the Informatica server. Informatica PowerCenter processes the parameter file when running a workflow. The parameter file contains values for symbolic variables and must adhere to the format that Informatica PowerCenter expects. A property value that is set in a parameter file overrides a value for this property that is set at the session level or elsewhere.
Limits: Up to 256 characters
Indicates whether the status of the workflow is retrieved directly from Informatica or inferred depending on the successful execution of all the tasks. Select one of the following values from the drop-down list:
Notes:
The Informatica job is defined.
Example: Start a Workflow on Informatica PowerCenter from a Task
This example starts a workflow named WF_1 on Informatica PowerCenter from the copyfile task. The workflow is started from the copyfile task.
To start a workflow on Informatica PowerCenter from a task
Example: Start a Workflow with a Parameter File
Suppose that you want to start a workflow named WF_2 with the wf2.prm parameter file on Informatica server. When the workflow runs, Informatica PowerCenter processes the specified parameter file.
The wf2.prm parameter file includes symbolic variables that override the default log directory and file name:
;Workflow Parameters [INFAPLUGIN.WF:wf_3] ;Session parameters $PMSessionLogFile=wf3.log $PMSessionLogDir=C:\Infa\Log ;mapping parameters
To start a workflow with a parameter file
The log files will be stored in the C:\Infa\Log directory on the Informatica server and their name will start with wf2.log. The actual files that Informatica generates will be longer, for example, wf2.log.1225.20131021131730.bin.
Copyright © 2014 CA.
All rights reserved.
|
|