-
123abc456xyz convert to 123456 ---file1 abcxyz ----file2
In a Column 123abc456xyz convert into two files like 123456 fil1 and abcxyz file2
-
-
How to remove reverse duplicates in datastage ?
Scenario:
Objective: The interface aims to consolidate the round-trip ticket cost of passengers.
Description: The source file is a .txt file, train_route_src.txt, consolidated with trains from a particular source to destination. There are many repetitions in the source file (Reverse Duplication: eg. BLR --> BBS and BBS --> BLR). Remove the reverse duplicates and maintain the target in... -
Load 1 input column values (with delemeter) into different target columns
I have column X which having 3 values A;B;C. How can I load these values into 3 diff cols in the target. If tomorrow I will receive 100 values for same single column I will load into 100 target cols respectively (Same de-limiter) ?
-
Single row converted into multiple rows using transformer stage
input
-------------
name | no
--------------------
Bose 1
Mani 2
Arun 3
Output
-------------
name | no
--------------------
Bose 1
Mani 2
Mani 2
Arun 3
Arun 3
Arun 3
to get the Using transformer stage
help me... -
-
Why copy stage is better than transformer?
Incase of only dropping columns(without any transformations or business rules), we can go for copy stage instead of transformer.But can anyone tell me exactly why copy stage is better in performance than transformer?
-
Importance of Surrogate Key in Data warehousing?
Surrogate Key is a Primary Key for a Dimension table. Most importance of using it is it is independent of underlying database. i.e Surrogate Key is not affected by the changes going on with a database.
-
Datastage partition
Which partition followed by joiner,merge. lookup,remove duplicate
-
How to seperate two diff datatypes and load it into two files?
i have a source file1 consist of two datatypes
file1:
no(integer)
1
2
3
&
dept(char)
cs
it
ie
and i want to seperate these two datatypes and load it into target files
file2 & file3.
how can i do this in datastage and by using which stage?
-
Datastage Performance Tuning
How to improve the Performance Tuning any 5 points
-
-
Datastage real time scenario
I have source like this
a,b,c,1,2,3 ( All this in one column)
I wanna target following below
a,b,c,1 ( Ist row)
a,b,c,2 (2nd row)
a,b,c,3 (3rd row)
Thanks in advance.
-
Transformer
I am having input--> I want Output like-->
slno|Name slno|Name
1|X 1|X
2|Y 2|X
3|Z 2|X
... -
Datastage Job Scenario question
input file A contains12345678910input file B contains6789101112131415Output file X contains12345Output file y contains678910Output file z contains1112131415How can we do in this in a single ds job in px ?....could you please give me the logic to implement ???
-
Spliting the File in datastage
I have Customer file & Dealer file.
Dealer file have dealer list who all are present on that day. Count of records may vary based on available dealers.
Customer file have customer list. Count on customer records also may vary daily.
The scenario is Dealer has to call customers in daily bases. We should provide customers record to them. So that they can call the customers.... -
DataStage - delete header and footer on the source sequential
How do you you delete header and footer on the source sequential file and how do you create header and footer on target sequential file using datastage?
-
Multiple files and output
I have two files target 3 files
file no1:
1
2
3
4
file2
3
4
5
6
output like first file 1,2 first file 3,4 second file 5 ,6 3rd file target how to achieve this -
Load 10 Input files into 10 Target tables at a time
I have the 10 input file like F1,F2...F10 then I need to load these 10 input files into 10 target Output tables like T1,T2...T10. Here is the scenario for 10 tables But in future If i will receive 100 input files then I need to load it into respective 100 target tables.
After loading the input files into target tables I need a confirmation in the respective target tables(By input File... -
Identify Normal and Sparse Lookup Datastage Job
By seeing a Datastage job how you will identify which one is Normal lookup and which one is Sparse Lookup?
DataStage Interview Questions
Ans