Documente Academic
Documente Profesional
Documente Cultură
Below are some of the session properties listed under General tab
Pre-Session Command:
We can define Operating System Commands or programs to be executed before the
data loading process (Session Process) starts. Operating System commands or
programs can be defined as Reusable Commands (defined in the form of Command
Tasks) or Non-reusable commands (defined with this property directly). Some of the
uses of commands or programs can be:
Make backup/copy of target tables so that old data can be restored in case of
data loading fails
To intimate users via Emails about the Data Loading success so that they can
start analysis
Note: With this features Informatica provides free hand for any thing to perform before
data loading.
Post-Session Command:
Post-session Success Command: Same as pre-session but these commands are
executed after the Session is completed successfully.
Post-session Failure Command: Same as pre-session but these commands are
executed after the Session is terminated because of some problem.
On Success Email:
We can send Emails using built-in feature of Informatica if Session is successful, if
Email servers are configured.
On Failure Email:
We can send Emails using built-in feature of Informatica if Session is not successful, if
Email Servers are configured.
Note: Emails can be defined in 'Reusable' or 'Non-reusable' modes.
Source Connection
Define source data connection for each source qualifiers. If the base tables for source
qualifiers are from different databases then we should define any of the databases as
connection database for all source qualifiers. We need to grant SELECT privilege on all
the tables from different databases to the Connection Database. This task is done at
Database level.
Target Connection
Select Relational Writer if the target is a Table else select File Writer if the target is a
Text File i.e. Flat File .If File Writer is selected then use 'Set file properties' button to
define file structure like: Delimiter, Text Qualifier, etc and to give extra character
instead of nulls in flat files.
Properties Page
If Relational Writer is selected then set the following properties:
Target load type: Normal or Bulk
Insert, if this option is Unchecked then target table can not receive New
Records.
Delete, if this option is Unchecked then target table does not allow deletion of
records.
In second case records from source with Update flag are inserted into target
table (Update as Insert).
In third case records from source table with Update flag are searched into
Target table, if found, they are updated they are Inserted (Update else Insert).
Truncate target table, if this option is checked then all the records from target table
is deleted before data loading.
Reject file name and Folder path
If some of the records are rejected during the data loading process because of Data
Type or Size mismatch then such records are written to a file referred as 'Bad File'. We
need to define a name for such file and folder path using $PMBadFileDir variable or
we have to give the complete folder path.
Connections Page:
Define Target database connection for each target table.
Source Filter:
For Source Qualifier Transformation we can use this property to define Filter condition
to retrieve selected records instead of all records. Using this property we can define
parallel Data Loading even on single Source Table.