Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Working With Sessions

Working With Sessions

Ratings: (0)|Views: 231 |Likes:
Published by ypraju

More info:

Published by: ypraju on Dec 22, 2009
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





Working with Sessions
By PenchalaRaju.Yanamala
Working with Sessions Overview
A session is a set of instructions that tells the Integration Service how and whento move data from sources to targets. A session is a type of task, similar to other tasks available in the Workflow Manager. In the Workflow Manager, youconfigure a session by creating a Session task. To run a session, you must firstcreate a workflow to contain the Session task.When you create a Session task, enter general information such as the sessionname, session schedule, and the Integration Service to run the session. You canselect options to run pre-session shell commands, send On-Success or On-Failure email, and use FTP to transfer source and target files.Configure the session to override parameters established in the mapping, suchas source and target location, source and target type, error tracing levels, andtransformation attributes. You can also configure the session to collectperformance details for the session and store them in the PowerCenter repository. You might view performance details for a session to tune the session.You can run as many sessions in a workflow as you need. You can run theSession tasks sequentially or concurrently, depending on the requirement.The Integration Service creates several files and in-memory caches dependingon the transformations and options used in the session.
Creating a Session Task
You create a Session task for each mapping you want the Integration Service torun. The Integration Service uses the instructions configured in the session tomove data from sources to targets.You can create a reusable Session task in the Task Developer. You can alsocreate non-reusable Session tasks in the Workflow Designer as you develop the
workflow. After you create the session, you can edit the session properties at anytime.
Before you create a Session task, you must configure the WorkflowManager to communicate with databases and the Integration Service. You mustassign appropriate permissions for any database, FTP, or external loader connections you configure.Related Topics:Working with Connection Objects
Steps to Create a Session Task
Create the Session task in the Task Developer or the Workflow Designer.Session tasks created in the Task Developer are reusable.To create a Session task:
In the Workflow Designer, click Tasks > Create.
Select Session Task for the task type.
Enter a name for the Session task.
Click Create.
Select the mapping you want to use in the Session task and click OK.
Click Done.Related Topics:Reusable Workflow Tasks
Editing a Session
After you create a session, you can edit it. For example, you might need to adjustthe buffer and cache sizes, modify the update strategy, or clear a variable valuesaved in the repository.Double-click the Session task to open the session properties. The session hasthe following tabs, and each of those tabs has multiple settings:
General tab.
Enter session name, mapping name, and description for theSession task, assign resources, and configure additional task options.
Properties tab.
Enter session log information, test load settings, andperformance configuration.
Config Object tab.
Enter advanced settings, log options, and error handlingconfiguration.
Mapping tab.
Enter source and target information, override transformationproperties, and configure the session for partitioning.
Components tab.
Configure pre- or post-session shell commands and emails.
Metadata Extension tab.
Configure metadata extension options.You can edit session properties at any time. The repository updates the sessionproperties immediately.If the session is running when you edit the session, the repository updates thesession when the session completes. If the mapping changes, the WorkflowManager might issue a warning that the session is invalid. The WorkflowManager then lets you continue editing the session properties. After you edit the
session properties, the Integration Service validates the session and reschedulesthe session.Related Topics:Validating a SessionSession Properties Reference
Applying Attributes to All Instances
When you edit the session properties, you can apply source, target, andtransformation settings to all instances of the same type in the session. You canalso apply settings to all partitions in a pipeline. You can apply reader or writer settings, connection settings, and properties settings.For example, you might need to change a relational connection from a test to aproduction database for all the target instances in a session. You can change theconnection value for one target in a session and apply the connection to theother relational target objects.
Table 7-1. Apply All OptionsSetting OptionDescriptionReader Writer Apply Type toAll InstancesApplies a reader or writer type to all instances of thesame object type in the session. For example, youcan apply a relational reader type to all the other readers in the session.Reader Writer Apply Type toAll PartitionsApplies a reader or writer type to all the partitions in apipeline. For example, if you have four partitions, youcan change the writer type in one partition for a targetinstance. Use this option to apply the change to theother three partitions.

Activity (11)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
shruthisurender liked this
manubhardwajcs liked this
Gaurav Jain liked this
pranay1507 liked this
Gaurav Jain liked this
sreenivasyadav liked this
Praveen Reddy liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->