tasks-part-1.html-a

Upload: dadar-guru

Post on 02-Jun-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 tasks-part-1.html-a

    1/9

    Home Informat ica Data Ware Housing Unix-She ll Scripts PL SQ L Contact Us

    Complete reference to Informatica

    Sharing

    Discussion Forum

    Discussion Forum

    Introduction

    ETL Life Cycle

    What Is Informatica

    Client Com ponents

    Services Behind Scene

    Try U R Hand's o n Admin-

    Console

    Transformation

    Filter

    Expression

    Router

    Sorter

    Rank

    Transaction Co ntrol

    Source Q ualifier

    Stored Procedure

    SQL Transformation

    Normalizer

    Sequence Generator

    WORKING WITH TASKS Part 1Naveen

    17Ap r 2 0 11

    The Workflow Manager contains m any types o f tasks to help you build workflows

    and worklets. We can create reusable tasksin the Task Develo per.

    Types of t asks:

    Task Type Tool where t ask can

    be created

    Reusable or no t

    Session Task Developer Yes

    0

    Share

    PDFmyURL.com

    http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://informaticatutorials-naveen.blogspot.com/2011/04/source-qualifier-tf_21.htmlhttp://informaticatutorials-naveen.blogspot.com/http://naveen-datawarehousing.blogspot.com/http://unixshellscripts.blogspot.com/http://naveen-plsql.blogspot.com/http://informaticatutorials-naveen.blogspot.com/2011/04/contact-us.htmlhttp://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://informaticatutorials-naveen.blogspot.in/feeds/posts/defaulthttp://informaticatutorials-naveen.blogspot.com/2011/04/sequence-generator-tf_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/normalizer-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/sql-transformation_21.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/stored-procedure-tf.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/source-qualifier-tf_21.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/transaction-control_21.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/rank-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/sorter-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/router-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/expression-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/filter-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/try-u-r-hand-on-admin-console.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/services-behind-scene.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/powercenter-client.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/what-is-informatica_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/etl-life-cycle_20.htmlhttp://complete-reference-to-informatica.1049239.n5.nabble.com/http://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-1.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%201&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=stumbleupon&u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-1.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%201&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=digg&u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-1.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%201&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=delicious&u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-1.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%201&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=google&u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-1.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%201&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=twitter&u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-1.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%201&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=facebook&u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-1.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%201&p=informaticatutorials-naveen.blogspot.inhttp://if%20%28%28navigator.appname%20%3D%3D%20%27microsoft%20internet%20explorer%27%29%20%26%26%20%28document.all%29%29%20%7Bwindow.external.addfavorite%28%27http//informaticatutorials-naveen.blogspot.in/2011/04/working-with-tasks-part-1.html#axzz27gqAxCpQ',%20'Complete%20reference%20to%20Informatica:%20WORKING%20WITH%20TASKS%20?Part%201')}%20else%20if%20(window.sidebar)%20{window.sidebar.addPanel('Complete%20reference%20to%20Informatica:%20WORKING%20WITH%20TASKS%20?Part%201',%20'http://informaticatutorials-naveen.blogspot.in/2011/04/working-with-tasks-part-1.html#axzz27gqAxCpQ',%20'')}%20else%20{alert('Press%20CTRL-D%20(Netscape)%20or%20CTRL-T%20(Opera)%20to%20bookmark')};http://informaticatutorials-naveen.blogspot.in/2011/04/working-with-tasks-part-1.htmlhttp://informaticatutorials-naveen.blogspot.in/http://informaticatutorials-naveen.blogspot.com/2011/04/contact-us.htmlhttp://naveen-plsql.blogspot.com/http://unixshellscripts.blogspot.com/http://naveen-datawarehousing.blogspot.com/http://informaticatutorials-naveen.blogspot.com/http://informaticatutorials-naveen.blogspot.in/
  • 8/10/2019 tasks-part-1.html-a

    2/9

    Difference Between 7.1 and

    8.6

    Informatica 8.6 Installation

    Interview Zone

    Informatica Real Time

    Interview Questions

    Informatica Experienced

    Interview Questions - part1

    Informatica Experienced

    Interview Questions - part2

    Informatica Experienced

    Interview Questions - part3

    Informatica Experienced

    Interview Questions - part4

    Data Warehousing concept

    Based Interview Questions

    Testing

    Unit TestingIntegration TestingUATInformatica TestingDebuggerConstraint Based lo adingTarget Load Plan

    AdvancedConcepts

    Mapping Parameter's &

    Variable

    Mapplets

    Aggregato r

    Union

    Joiner

    Update Strategy

    Look Up

    Subscribe to Learn

    Informatica

    Like 157 people like th

    Enter your email address :

    Subscribe

    Delivered by FeedBurner

    Performance-Tuning

    Necessity Of

    Performance-tuning

    Identification Of bo ttle

    Necks

    Optimization o f Bottle

    necks

    Performance tuning o f

    Looku

    Email Workflow Designer Yes

    Command Worklet Designer Yes

    Event-Raise Workflow Designer No

    Event-Wait Worklet Designer No

    Timer No

    Decision No

    Ass ignm ent No

    Contro l No

    SESSION TASK

    A sessio n is a set o f ins tructions that tells the Power Center Server ho wand when to mo ve data from so urces to targets.

    To run a session, we must first create a workflow to contain the Session

    task.

    We can run as many sessions in a workflow as we need. We can run the

    Session tasks sequentially or co ncurrently, depending on o ur needs.

    The Power Center Server creates several files and in-memory caches

    depending on the transformations and o ptions used in the sessio n.

    EMAIL TASK

    The Workflow Manager provides an Email task that allows us to send email

    during a workflow.

    Created by Administrator usually and we just drag and use it in our

    mapping.

    Steps:

    1. In the Task Develope r or Workflow Designer, choo se Tasks-Create.

    2. Select an Email task and enter a name fo r the task. Click Create.

    PDFmyURL.com

    http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://informaticatutorials-naveen.blogspot.com/2011/04/performance-tuning-of-lookup.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/optimizing-bottlenecks.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/identification-of-bottlenecks.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/performance-tuning-overview.htmlhttp://feedburner.google.com/http://www.feedburner.com/http://feeds.feedburner.com/CompleteReferenceToInformaticahttp://informaticatutorials-naveen.blogspot.com/2011/04/lookup-transformation.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/update-strategy-transformation.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/joiner-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/union-transformation_21.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/aggregator-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/partitioning.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/mapplets.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/mapping-parameters-variables.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/target-load-order.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/constraint-based-loading-in-workflow.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/debugger.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/informatica-power-center-testing.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/user-acceptance-test.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/integration-testing_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/unit-testing_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/05/data-warehousing-concepts-based.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/05/informatica-experienced-interview_26.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/05/informatica-experienced-interview_23.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/05/informatica-experienced-interview_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/05/informatica-experienced-interview.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/05/informatica-real-time-interview.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/steps-to-install-informatica-power.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/difference-between-71-and-86.html
  • 8/10/2019 tasks-part-1.html-a

    3/9

  • 8/10/2019 tasks-part-1.html-a

    4/9

    2. Pre- and post- session shell com mand:We can call a Command task as

    the pre- or post-session shell command for a Session task. This is done in

    COMPONENTS TAB of a session. We can run it in Pre-Session Command or

    Post Session Success Command or Post Session Failure Command. Select the

    Value and Type optio n as we did in Em ail task.

    Example:to copy a file sample.txt from D drive to E.

    Command: COPY D:\sample.txt E:\ in windo ws

    Ste ps for creating command task:

    1. In the Task Develope r or Workflow Designer, choo se Tasks-Create.

    2. Select Comm and Task for the task type.

    3. Enter a name for the Comm and task. Click Create. Then click done.

    4. Double-click the Comm and task. Go to comm ands tab.

    5. In the Commands tab, click the Add button to add a comm and.

    6. In the Name field, enter a name for the new com mand.

    7. In the Com mand field, click the Edit button to open the Com mand Edito r.

    8. Enter only one comm and in the Comm and Editor.9. Click OK to close the Comm and Editor.

    10. Repeat steps 5-9 to add mo re commands in the task.

    11. Cl ick OK.

    Ste ps to create t he workflo w using command task:

    1. Create a task using the above steps to copy a file in Task Developer.

    2. Open Workflow Des igner. Workflow -> Create -> Give name and click ok.

    3. Start is displayed. Drag session say s_m_Filter_example and command

    task.

    4. Link Start to Sessio n task and Sessio n to Com mand Task.

    5. Double click link between Session and Command and give condition in

    editor as

    6. $S_M_FILTER_EXAMPLE.Status=SUCCEEDED

    7. Workflow-> Validate

    8. Repository > Save

    PDFmyURL.com

    http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01
  • 8/10/2019 tasks-part-1.html-a

    5/9

    WORKING WITH EVENT TASKS

    We can define events in the workflow to specify the sequence o f task execution.

    Types of Events:

    Pre-defined event:A pre-defined event is a file-watch event. This eventWaits for a specified file to arrive at a given location .

    User-defined event: A use r-defined event is a sequence o f tasks in the

    Workflow. We create events and then raise them as per need.

    Ste ps for creating User Defined Event :

    1. Open any workflow where we want to create an event.

    2. Click Workflow- > Edit -> Events tab.

    3. Click to Add button to add events and give the names as pe r need.

    4. Click Apply -> Ok. Validate the workflow and Save it.

    Types of Events Tasks:

    EVENT RAISE:Event-Raise task represents a user-defined event. We use

    this task to raise a user defined event.

    EVENT WAIT: Event-Wait task waits for a file watcher event or user

    defined event to occur before executing the next session in the workflow.

    Example1:Use an event wait task and make sure that session s_filter_example

    runs when abc.txt file is presen t in D:\FILES folder.

    PDFmyURL.com

    http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://lh5.ggpht.com/_MbhSjEtmzI8/TapYGsx0vHI/AAAAAAAAAOA/1xW3RLDDbqk/s1600-h/clip_image002%5B4%5D.jpg
  • 8/10/2019 tasks-part-1.html-a

    6/9

  • 8/10/2019 tasks-part-1.html-a

    7/9

    3. Drag s_m _filter_example and link it to START task.

    4. Click Tasks -> Create -> Select EVENT RAISE from list. Give name

    5. ER_Example. Cli ck Create and then do ne.Link ER_Exam ple to

    s_m_filter_example.

    6. Right click ER_Example -> EDIT -> Properties Tab -> Open Value for User

    Defined Event and Select EVENT1 from the list dis played. Apply -> OK.

    7. Click link between ER_Example and s_m_filter_example and give the

    condi tion $S_M_FILTER_EXAMPLE.Status=SUCCEEDED

    8. Click Tasks -> Crea te -> Select EVENT WAIT from list. Give nam e

    EW_WAIT. Click Create and then do ne.

    9. Link EW_WAIT to START task.

    10. Right click EW_WAIT -> EDIT-> EVENTS tab.

    11. Select User Defined there. Select the Event1 by clicking Browse Events

    button.

    12. Apply -> OK.

    13. Drag S_M_TOTAL_SAL_EXAMPLE and link it to EW_WAIT.

    14. Mapp ing -> Validate

    15. Repo sitory -> Save.

    16. Run workflow and see.

    Share

    Tweet

    Submit

    2

    Get this

    PDFmyURL.com

    http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://www.bloggersentral.com/2010/07/install-floating-social-media-buttons.htmlhttp://www.facebook.com/sharer.phphttp://lh5.ggpht.com/_MbhSjEtmzI8/TapYJ7xnh3I/AAAAAAAAAOQ/I-EI-o-YbSw/s1600-h/clip_image001%5B5%5D%5B3%5D.jpg
  • 8/10/2019 tasks-part-1.html-a

    8/9

    Next Entries Previous Entries

    You can follow any responses to this entry through the RSS 2.0feed. You ca n leavea response.

    0 Responses

    Leave a Reply

    Enter your comment...

    Comment as:

    Publish Preview

    Links to this post

    Create a Link

    Recent Comments

    Reactions:

    PDFmyURL.com

    http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://informaticatutorials-naveen.blogspot.in/2011/04/working-with-links.htmlhttp://informaticatutorials-naveen.blogspot.in/2011/04/working-with-tasks-part-2.htmlhttp://www.blogger.com/blog-this.ghttp://informaticatutorials-naveen.blogspot.in/2011/04/working-with-tasks-part-1.html#respondhttp://informaticatutorials-naveen.blogspot.in/feeds/posts/default
  • 8/10/2019 tasks-part-1.html-a

    9/9

    20 09 - Complete reference to Informatica is proudly brought to you by Naveen

    PDFmyURL.com

    http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01