I have source like "abcdefghijklmnopqrs", how to change 10th character from j to z in datastage?

Answer Posted / anchalthakran

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to read multiple files using a single datastage job if files have the same metadata?

735


How complex jobs are implemented in datstage to improve performance?

589


I/p : F1 table have A,B,C,D,E and F2 table having C,E,V i need output 0utput1: ABD output2: V any one suggest me this

545


What is the difference between operational data stage (ods) and data warehouse?

667


Have you have ever worked in unix environment and why it is useful in datastage?

643






What are the some differences between 7.x and 8.x version of datastage?

734


What are the different options associated with dsjob command?

931


How to reverse the string using SQL?

885


what is use of SDR function?

4706


how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?

1916


Why fact table is in normal form?

666


What is the difference between in process and inter process?

661


What are the steps required to kill the job in Datastage?

679


What is difference between server jobs & parallel jobs?

619


What is the difference between informatica and datastage?

650