You are on page 1of 4

Informatica Workflow Schedule Automation

Author: Anoop Dasan Date written: 04/01/2010 Declaration I hereby declare that this document is based on my personal experiences and/or experiences of our project members. To the best of our knowledge, this document does not contain any material that infringes the copyrights of any other individual or organization including the customers of Infosys. Anoop Dasan Project Details

Project(s) involved: CPWMISUP H/W Platform: Machine Type - IBM,9119-595 No of CPUs - 32 CPU clock rate - 1654 MHz Processor - PowerPC_POWER5 Hardware - 64 bit

S/W Environment: AIX Kernel Version - 5.3.0.44 TL04 Informatica Powercenter version: 8.1.1

Application Type: Informatica Project Type : Data Warehousing

Target readers Readers should have the knowledge of the basics of Informatica and Unix.

Keywords: Informatica, Unix, PMCMD, Workflow, Schedule, Automation

Auto Scheduling of Informatica Workflows from Informatica Using Unix Script

Version Draft 0.1 Issue 1.0

Authors Anoop Dasan Anoop Dasan

Change Control Date 17/02/2010 24/02/2010

Comments Initial draft Incorporated review comments

Reviewed by Manju Krishnan Manju Krishnan

Contents Contents.......................................................................................................2 Introduction..................................................................................................2 Manual Scheduling and Limitations...............................................................2 Automatic Scheduling...................................................................................2 3.1 Working with pmcmd commands Scheduling..........................................3 Implementation Details................................................................................3 Advantages...................................................................................................3 Reference......................................................................................................4

Introduction This document describes the automation of scheduling of Informatica workflows from another workflow with the help of a unix script. The underlying principle: This tool uses the pmcmd command to schedule the Informatica workflow/ list of workflows. Manual Scheduling and Limitations Manual scheduling of the Informatica workflows involves scheduling the workflow by right clicking on the workflow, either from the Workflow Manager or Workflow Monitor. When you are having a number of workflows to be scheduled it is always difficult to do manual scheduling, also there are chances of manual discrepancies due to which we you may miss out a particular workflow. Automatic Scheduling Automatic scheduling will reduce the manual intervention in the daily DWH loads. It was observed that on a day to day basis multiple workflows are failing because of various reasons. It has been an extra effort for identifying and scheduling these failed workflows, for the next days load. The Workflow Schedule Automation Mechanism will ensure all the necessary workflows are scheduled for the daily run.

Infosys Technologies Limited

Page 2

Auto Scheduling of Informatica Workflows from Informatica Using Unix Script 3.1Working with pmcmd commands Scheduling PMCMD means program command line utility. It is a program command line utility to communicate with Informatica server. PMCMD can performs the following tasks start and stop batches and sessions recovery sessions stops the Informatica schedule the sessions by shell scripting schedule the sessions by using operating system schedule tools like CRON Sytax of pmcmd command for scheduling a wofkflow is like this: pmcmd scheduleworkflow -sv <integration_service> -d <domain_name> -u <user_name> -p <password> -f <folder_name> <workflow_name> Implementation Details Attached script can be reused for implementing this mechanism.

Schedule_workflow.ksh

Include the below text file under the path /opt/informatica/SrcFiles/ or a convenient path where this can be stored - In this case the script should be modified with the correct path. The wf_names_list.txt file contains details of all the workflows need to be scheduled. Also modify the email address with a mail address to which the messaged should be sent.

Wf_names_list.txt

Parameters need to be passed for invoking this Script. 1. 2. 3. 4. int_service_name domain_name user_name password

The credentials used should have administrator privileges for doing this operation. Advantages This script will ensure all the workflows are scheduled on a daily basis. Reduces manual interventions

Infosys Technologies Limited

Page 3

Auto Scheduling of Informatica Workflows from Informatica Using Unix Script Reference

Informatica help Project Reference

Infosys Technologies Limited

Page 4

You might also like