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
how to achieve this output ? Two Input columns(ID & Name) - ID | Name 1 | Jack 1 | Kara In output there should be only 1 column which will be populated as - 1,Jack 1,Kara
What are the types of hashed files in data stage
How we can covert server job to a parallel job?
In a batch if a job fails in between and you want to restart the batch from that particular job and not from the scratch then what will you do?
Can you explain players in datastage?
Define orabulk and bcp stages?
What is the precedence of stage variables,derivations, and constraints?
Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.
Differentiate between hash file and sequential file?
Explain ibm infosphere information server and highlight its main features?
Explaine the implimentation of scd's in ds indetail, please send me step by step procedure to perform scd's 1,2,3. Please replay for this, Thanks in advance
What is the flow of loading data into fact & dimensional tables?
Is possible to create skid in dim,fact tables?
Can you define merge?
What is the difference between account and directory options ?