Informatica Paramter File

Using Parameter file Using Workflow and Session Parameter File Simultaneously Author: Amit Singh Yadav Date written: 18/01/10 Declaration I/We hereby declare that this document is based on my/our personal experiences and/or experiences of my/our project members. To the best of my/our knowledge, this document does not contain any material that infringes the copyrights of any other individual or organization . Amit Singh Yadav Target readers: All Keywords: Informatica Parameter File, $PMMergeSessParamFile, workflow, informatica, parameter file, session, merge files

The Challenge: Using Parameter file The challenge is to use session level parameter file and workflow level parameter file at the same time. The problem being that when you define a workflow parameter file and a session parameter file for a session within the workflow, the Integration Service uses the workflow parameter file, and ignores the session parameter file. Session Parameter File: It contains session parameters which contain values that can change from session to session, such as database connections or file names. PMSessionLogFile and $ParamName are user-defined session parameters. Also variables that we use in source queries like date criterion e. g. $$Lastrun Workflow Parameter File It contains workflow level parameters. For example, you can use a workflow variable in a Decision task to determine whether the previous task ran properly. In a workflow, $TaskName. PrevTaskStatus is a predefined workflow variable and $ $SessionName is a user-defined workflow variable. Problem Statement: Using both session and workflow level parameter file.

First let me tell you why we need both the parameter files in our workflow. Recently we decided to use third party scheduling tool, Workload Manager (WLM), scheduling product by CA Inc. WLM schedules jobs across platforms e. g. dependent jobs across Informatica, teradata, UNIX MF can be scheduled together. Now the requirement of this scheduler is that 1. You need to have a scheduler level parameter file with all the sessions names used in the workflow. 2. You need to use this same parameter file as workflow level parameter file in your workflow.

The problem we faced was that our current situation is: The sql query in our sessions is select * from where date >’$ $lastrun’. We have a session level parameter file and every time the session runs it picks $$lastrun from the session parameter file. At the end of the session a script is run which updates the $$lastrun with today’s date so that next time when the session is run it picks up data for dates > $$lastrun. This is how our session level parameter files looks: $ more mStaging_PCare. parm Using Parameter file [s_mStaging_PCare] $$lastrun=2009-12-20 —–? session_name ———- ? Lastrun date

Now if a workflow level parameter file is used, the variable $$lastrun will have to be mentioned in the workflow parameter file. And If we will mention $$lastrun there, then Informatica will pick up the date from the workflow parameter file, while the session level parameter file variable, $$lastrun, will be updated by a script in the session so, we need something through which we can use both workflow and session parameter file. Solution: There is a very useful property in Informatica called $PMMergeSessParamFile which when set to TRUE will force Informatica to read both session and workflow parameter file.

What we did was we created a new workflow parameter file with the all the sessions name in it and for every session we have set $PMMergeSessParamFile=TRUE. Now when workflow runs it looks for $$lastrun in workflow parameter file and when it does not find the value there, it looks for $ $lastrun in session parameter file. It gets the value there and session succeeds. In the end the script updates the session level parameter file with today’s date. In this way we were able to use both 1. Workflow level parameter file which was the requirement of WLM. 2.

Session Level parameter file which was required by our session since the script updates session level parameter file and we did not wanted to change the script. This is how our new workflow level parameter files looks: $ more PCare_Staging_WLM. par [s_mStaging_PCare] ——–? Session Name – —-? parameterized connection $DBConnectionSource=Tera_ETL_VIEWS_NE $PMMergeSessParamFile=TRUE ——? Property set to true Using Parameter file After using this parameter file Informatica will pick up connection name from the above parameter file and $$lastrun from session parameter file since $PMMergeSessParamFile is set to TRUE.

This is what was required. Usage: 1. 2. This property will allow users to use both session and workflow level parameter file at same time. Like in the scenario above. Suppose there are sessions which are based on Incremental logic i. e. Session level parameter file is automatically created by UNIX script. Now if users wants to have parameterized connections for such sessions then either they need to change their script which generates parameter file or they can simple use $PMMergeSessParamFile and mention parameterized connection names at workflow level parameter file. . If users want a workflow to run two concurrent instances. If two workflows use same set of re-usable sessions then it helps in making parameter file names parameterized. It removes hard coding of parameter file name from sessions. For more details please refer Informatica help section. Path given below. Parameter Files > Configuring the Parameter File Name and Location References: Informatica Help Guide

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with MyStudyWriters
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
English 101
IThank you
Customer 452631, April 6th, 2021
Psychology
Thank you!
Customer 452545, February 6th, 2021
Philosophy
Thank you
Customer 452811, February 17th, 2024
FIN571
excellent work
Customer 452773, March 1st, 2024
Business and administrative studies
excellent work
Customer 452773, March 12th, 2023
Nursing
I just need some minor alterations. Thanks.
Customer 452547, February 10th, 2021
Business and administrative studies
Thank you for your hard work and effort. Made a 96 out of 125 points Lacked information from the rubic
Customer 452773, October 27th, 2023
Business and administrative studies
Perfect
Customer 452773, February 23rd, 2023
Social Work and Human Services
Great work I would love to continue working with this writer thought out the 11 week course.
Customer 452667, May 30th, 2021
Nursing
Impressive writing
Customer 452547, February 6th, 2021
ACC/543: Managerial Accounting & Legal Aspects Of Business
EXCELLENT JOB
Customer 452773, January 10th, 2024
English 101
great summery in terms of the time given. it lacks a bit of clarity but otherwise perfect.
Customer 452747, June 9th, 2021
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat
Close

Sometimes it is hard to do all the work on your own

Let us help you get a good grade on your paper. Get professional help and free up your time for more important courses. Let us handle your;

  • Dissertations and Thesis
  • Essays
  • All Assignments

  • Research papers
  • Terms Papers
  • Online Classes
Live ChatWhatsApp