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 |
1.how to generate even numbers in surrogate or tranformar stage ? 2. how many ways to remove duplicate values?
if a column contains data like ram,rakesh,madhan,suraj,pradeep,bhaskar then I want to place names separated by commas in another columns how can we do?
How do y read Sequential file from job control?
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?
What are the processing stages?
how to run a sequential file stage in parallel if the stage is used on the TARGET side
what is the best stage in datastage parller jobs to use full out join and why
How to manage date conversion in Datastage?
Can you explain repository tables in datastage?
How to display errors in datastage?
what is executable in DataStage?
what is factless fact table?