Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

My source having following data as below,
AB1
Aim2
Abnv5
1An8bx
and my question is i need the Datastage job the following
as in my target

000AB1
00Aim2
0Abnv5
1An8bx
Please help me to achive this.

Answer Posted / venkata ramana

Input Seq file:

CodeName
AB1
Aim2
Abnv5
1An8bx

Note: Column(CodeName) lenth is 6

Seq-->Transformar--DataSet

Trasformar:-

In Derivation cell:

Str('0',6 - Len(DSLink3.CodeName)):DSLink3.CodeName

Out put Dataset:-

000AB1
00Aim2
0Abnv5
1An8bx

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What can we do with datastage director?

1289


What is the difference between hashfile and sequential file?

1312


Where do the datastage jobs get stored?

1266


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

1303


What is the difference between validated and compiled in the datastage?

1365


What are the difference types of stages?

1284


WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE

3693


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

853


What is the method of removing duplicates, without the remove duplicate stage?

1074


What are the features of datastage flow designer?

1099


What is ibm datastage?

1022


What is the project in datastage?

1158


How to Remove Duplicate using SQL?

1419


Name the third party tools that can be used in datastage?

1134


Which is the best institute in Hyderabad to learn OBIEE and DataStage?Please tell me faculty name also

3212