I have source like "abcdefghijklmnopqrs", how to change 10th character from j to z in datastage?
Answers were Sorted based on User's Feedback
Source file Input: abcdefghijklmnopqrs
Solution:- seq file---> transformer stage---> seq file
under function-->string-->convert function will give desired output.
Convert("j" , "z" , "abcdefghijklmnopqrs" )
Target file Output: abcdefghizklmnopqrs
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / 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 |
Explain Quality stage?
i have data like sam ram sam raj ram I want two targets trgt1 ram sam trgt2 raj how can i do this in datastage?
If seg file having 10 records ex:eid 1 2 " " 10 if oracle database having 100 records ex:eid 1 2 " " 100 how to delete matched records permenently from oracle database using datastage ?
How do you get log info into a file?
whats difference between ls -ltr and ls -lrt?
What is confirmed Dimension? what is Factless Fact? give one example? What are Additive, Semi-Additive Facts?
How to reverse the string using SQL?
1.what is repartionoing technique? 2.what deliverables transferred to client using datastage? 3.how to write loop statements using nested loop sequence?
How to use Environment variable's in datastage?(use of process)
Explain the functionality of your current project?
1 Answers IBM, Miles Software,
What is a delta record? How you will read it?
Please tell me What is difference between 8.0 and 8.1