I have source like "abcdefghijklmnopqrs", how to change 10th character from j to z in datastage?
Answer Posted / trupti
InputField = "abcdefghijklmnopqrs"
step by step we can use transformer functions as,
1. left(InputField,10) ==> OP will be 'abcdefghij'
2. Use above output in
right (abcdefghij,1)= 'J'
The final derivation will be like below,
Convert(right(left(InputField,10),1),'Z',Inputfield)
Output :- abcdefghiZklmnopqrs
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Difference between in process and inter process?
What are the different options associated with dsjob command?
What are the components of ascential data stage?
How to implement complex jobs in data stage?
Can you explain engine tier in information server?
client know skid info?
What are data elements?
What are stage variables?
Can we use target hash file as a lookup ?
hi.... am facing typical problem in every interview " I need some critical scenarios faced in real time" plz help me guys
Whats difference betweeen operational data stage (ods) and data warehouse?
Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC
What are stage variables and constants?
8000 jobs r there i given commit, suddenly job will abort? what happens? 2)diff b/t transformer stage & filter stage? 3)how to load the data in the source?
How do you start developing a datastage project?