-
Which Case you will go for star schema and snow flake schema
In your project Which Case you will go for star schema designing and which Case you will go for snow flake schema designing?
-
Giving occurances
can anyone pls solve in datastage.........
source column is..
A
A
B
B
B
C
C
D
........want output columns(2 cols) as.........
A 1
A 2
B 1
B 2
B 3
C 1
C 2
D 1
THANX IN ADVANCE. -
Separate the Records with Special Characters
How will you separate the records with special characters in a column. For example
If suppose the column contains
Name*
&Name
Na*me
$Name
Na$me
I need to separate these records alone. -
Implement Bulk Collect methodology in Datastage
We are using Bulk Collect methodology in Database to load the bunch of records at a time.How we will implement the same operation in Datastage. If my source having millions of records, I want to load the bunch of records in to target at a time. How?
-
Which table will load first - Fact or Dimension Table?
In Data warehouse which table will load first and why? Fact or Dimension?
-
Generate the Occurrence Number in Output File
How to generate the occurrence no in out put file for the respective no of records in input file
I need a count in the target file how many times the same record is available in input file.
INPUT
-----
ID NAME LOC
20 B Y
10 A X
20 B Y
30 C Z
10 A X
10 A X
20 B Y
20 B ... -
Change the Configuration file during Run-time
Can we change the configuration file during run time? If then how?
-
Split the Input Columns into Different Target
I have a source file having 4 columns. How can I store first 2 columns values into one target and the next 2 columns values into another target? Can anyone suggest me here how can I achieve this using Copy stage and without using Copy Stage?
-
Load a date field value from sequencial file to databse table with out using Transformer
I have an input file in below format
Name DOB
------ ------
A 10-05-1990
B 07-12-2000
Q1 -> How we will load the above file data into a target data base table in a simplest method without using Transformer ?
Q2 -> How will load the Date column into 3 splitted columns(DD|MM|YYYY). Like below
Name DOB
------ ------- -
Dsjob run command in Unix platform
We are using below command in Unix to run a Datastage Job:
dsjob run mode project_name job_name
When we are executing the above command in Unix what exactly it returns? -
Track Source File name in Target File
I have 5 source files. In target I need to write it into a single file. But in the output file I need the corresponding input file name i.e which records are coming from which source file. How to achieve this?
-
Where do you use Link-Partitioner and Link-Collector ?
Link Partitioner - Used for partitioning the data.Link Collector - Used for collecting the partitioned data.
-
Handle Rejects in Transformer
How to handle rejects in Transformer & How many rejects a xfm support?
-
Minimum Number of Input and Output for Lookup
What is the minimum number of input and output required for Lookup ?
-
Merge Two Columns into One Column in Target
I have a file having columns C1,C2,C3,C4,C5 with comma delimited.In target I want store the first two columns value into one column.
Like below
Input Output I need
-------------- ----------------------
C1 C2 C3 C4 C5 C1(C1 & C2 value) C3 C4 C5
That means my input is 5 columns & Output will be 4 columns.
Can... -
How to automate a Datastage job with out using Sequencer
Without using Sequencer how to design a Datastage job which normally receives input file to run. If tomorrow we will not receive any input file Job should not fail. It will run successfully without any warnings.
-
How Can we run a Datastage job form sequential mode to parallel mode
Suppose I have designed a Datastage job using sequential file stage,It will run in sequential mode.How can I run it it Parallel mode.
-
Perform Funnel
I have 10 files, in 5 files having same data(3 columns), 5 columns having same data(4 columns). How can I perform funnel and what are stages required from me?
-
What are Sequencers?
Sequencers are job control programs that execute other jobs with preset Job parameters.
-
DATA Set Removed why
Why we are using orchadmin to remove dataset. why we are not using rm commond in remove dataset..and why you need dataset remove waht is the reason?
DataStage Interview Questions
Ans