Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

What is the flow of loading data into fact &

dimensional tables?
Fact table - Table with Collection of Foreign Keys corresponding to the Primary Keys in
Dimensional table. Consists of fields with numeric values.
Dimension table - Table with Unique Primary Key.

Load - Data should be first loaded into dimensional table. Based on the primary key values in
dimensional table, the data should be loaded into Fact table.

How do you execute datastage job from


command line prompt?
Using "dsjob" command as follows.
dsjob -run -jobstatus projectname jobname

What are Stage Variables, Derivations and


Constants?
Stage Variable - An intermediate processing variable that retains value during read and doesnt
pass the value into target column.

Derivation - Expression that specifies value to be passed on to the target column.

Constant - Conditions that are either true or false that specifies flow of data with a link.

Containers : Usage and Types?


Container is a collection of stages used for the purpose of Reusability.

There are 2 types of Containers.


a) Local Container: Job Specific
b) Shared Container: Used in any job within a project.
Compare and Contrast ODBC and Plug-In
stages?
ODBC : a) Poor Performance.
b) Can be used for Variety of Databases.
c) Can handle Stored Procedures.

Plug-In: a) Good Performance.


b) Database specific.(Only one database)
c) Cannot handle Stored Procedures.

How to handle Date convertions in


Datastage? Convert a mm/dd/yyyy format to
yyyy-dd-mm?
We use a) "Iconv" function - Internal Convertion.
b) "Oconv" function - External Convertion.

Function to convert mm/dd/yyyy format to yyyy-dd-mm is


Oconv(Iconv(Filedname,"D/MDY[2,2,4]"),"D-MDY[2,2,4]")

Types of Parallel Processing?


Parallel Processing is broadly classified into 2 types.
a) SMP - Symmetrical Multi Processing.
b) MPP - Massive Parallel Processing.

What does a Config File in parallel extender


consist of?
Config file consists of the following.
a) Number of Processes or Nodes.
b) Actual Disk Storage Location.
What is Modulus and Splitting in Dynamic
Hashed File?
In a Hashed File, the size of the file keeps changing randomly.
If the size of the file increases it is called as "Modulus".
If the size of the file decreases it is called as "Splitting".

Types of views in Datastage Director?


There are 3 types of views in Datastage Director
a) Job View - Dates of Jobs Compiled.
b) Log View - Status of Job last run
c) Status View - Warning Messages, Event Messages, Program Generated Messages.

You might also like