in one scenario source flat file like
Fileld1
00122001550056200568
00256002360014500896
00123004560078900258
00147004560025800256
divide each 5 numbers as one column i.e
here i need
field1 field2 field3 field4
00122 00155 00562 00568
00256 00236 00145 00896
00123 00456 00789 00258
00147 00456 00258 00256
plz help me....
Answer Posted / mrvprasad
Take 4 field names(field1 field2 field3 field4) in output stage.
use Transformer stage: In Derivation use the below substring
Field1: SourceColumn[1,5]
Field2: SourceColumn[6,10]
Field3: SourceColumn[11,15]
Field4: SourceColumn[16,20] use this one u will get correct o/p.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the difference between orabulk and bcp stages?
Differentiate between validated and Compiled in the Datastage?
What are the some differences between 7.x and 8.x version of datastage?
How to find value from a column in a dataset?
What are the different type of jobs in datastage?
what is repositery?
Explain entity, attribute and relationship in datastage?
How many types of views are there in a datastage director?
Define project in datastage?
How can you write parallel routines in datastage PX?
What are the different options associated with dsjob command?
What are data elements?
Name the different types of Lookups in Datastage?
To see hidden files in LINIX?
What are the functionalities of link partitioner and link collector?