Suppose take my name "Reddyvaraprasad"
From source it is coming Reddy vara prasad
Need to get As Reddyvara prasad/
Answers were Sorted based on User's Feedback
Answer / akila
Create 3 stage variables to split the name into three and
then concatenate
SV1 = Field(NAME," ",1)
SV2 = Field(NAME," ",2)
SV3 = Field(NAME," ",3)
Then concatenate in the column derivation as sv1:sv2:" ":sv3
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / hussy
I am sowwie akila. tat was the correct answer mistakenly I
have clicked on the other option. hope u dont mind
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vaibhav
Hi Akila,
What if input name comes as Ajay Rathore... Surname should be differentiated with space and middle name should be concatenated with first name...then this solution might be wrong...
| Is This Answer Correct ? | 0 Yes | 0 No |
Describe link sort?
source 1123445 I WANT OUTPUT AS DUPLICATES TO TARGET1 LIKE TARGET1 1144 NON-DUPLICATES TO TARGET2 TARGET2 235
at source level i have 40 columns,i want only 20 cols at target what r the various ways to get it
in a job of 20 one job is very slow due to that entire job is slow how can u find out which job is slow?
What are datastage sequences?
what are .ctl(control files) files ? how the dataset stage have better performance by this files?
How much data u can get every day? 2)which data ur project contains? 3) what is the source in ur project?what is the biggest table & size in ur schema or in ur project?
how to implement scd2 in datastage 7.5 with lookup stage
Please explain me the difference between 3 types of slowly changing dimension in datawarehousing?
Hi, My source is oracle(eno,ename,sal,commision,...), my requirement is like this, if there is a null values in commission col i want to keep it as null,and for the remaining first two characters of the value in my target. Plz help me
WHERE YOU USE UNIX COMMANDS AS A ETL DEVELOPER?
Hi, Please tell me how to solve this scenario in datastage ? Here we have 3 columns in a table TEST CODE,ENTRY DATE and BATCH The table looks like CODE ENTRYDATE BATCH 100 100716 1 100 100716 1 100 100716 1 200 122517 2 200 122517 2 302 555555 8 302 555555 8 302 555555 8 We need to create a seqno on grouping these 3 columns. The result should be like this. CODE ENTRYDATE BATCH SEQNO 100 100716 1 1 100 100716 1 2 100 100716 1 3 200 122517 2 1 200 122517 2 2 302 555555 8 1 302 555555 8 2 302 555555 8 3
1 Answers Alpharithm Technologies,