-
Datastage Real time scenario
source table
name
A
A
B
B
B
C
C
D
In source table data like this
but I want traget table like this
name count
A 1
A 2
B 1
B 2
B 3
C 1
C 2
D 1
pls any one one solve this........ -
Single column with multiple rows should be converted into single row with commas
Can any one help....
Source is.....
a
b
c
d
want target as.....
a,b,c,d
thanks in advance -
Dataset stage and sequential file stage
what is the difference between dataset stage and sequential file stage? even one more to be added here, What is the difference between dataset stage and fileset stage?
-
How to convert multiple rows into single row in datastage
Hi,
Can you please solve this in datastage..
my input is
name,city
johnson,newyork
johnson,mumbai
johnson,delhi
want output as
name,city1,city2,city3
johnson,newyork,mumbai,delhi
pls explain with steps
thanking in advance... -
Datastage job scenario question
My input has a unique column-id with the values 10,20,30.....how can i get first record in one o/p file,last record in another o/p file and rest of the records in 3rd o/p file?
-
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.
-
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 ???
-
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 -
How to Seperate Repetating & non-Repetating data.
I have data in Table as
ID
1
2
3
1
4
3
3
5
6
6
7
Now I want to have Output as repeatating records in one table & non-repeatating in another table
Table 1 :
Id
2
4
5
7
Table 2:
ID
1
1
3
3
3
6
6
-
SCD Insert, Update and Link Data
While implementing SCD, there are two output links updating data to same table. One link for insert and one link for update. How it is possible? Will it not result a write lock on a table if two links accessing same table for writing?
-
Change Partition to Auto in Join stage
What will happen if we will change the partition to Auto in Join stage?
-
Oracle Connector Stage and Oracle Enterprise Satge
1. What is the difference between Oracle connector stage and Oracle enterprise stage.
2. If we can achieve Oracle enterprise stages task using Oracle connector stage then why Oracle enterprise stage exists? -
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?
-
What are Sequencers?
Sequencers are job control programs that execute other jobs with preset Job parameters.
-
Where do you use Link-Partitioner and Link-Collector ?
Link Partitioner - Used for partitioning the data.Link Collector - Used for collecting the partitioned data.
-
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.
DataStage Interview Questions
Ans