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?
what are .ctl(control files) files ? how the dataset stage have better performance by this files?
Describe the architecture of datastage?
How do y read Sequential file from job control?
What is job control?
What is the use of datastage designer?
What is the importance of the exception activity in datastage?
Explain usage analysis in datastage?
What is difference between server jobs & parallel jobs?
in oracle target stage when we use load option and when we use upsert option?
Which commands are used to import and export the datastage jobs?
1)How will u implement SCD2 by using surrogate key. 2)What are the disadvantages with surrogate key. 3)How will you handle nulls in your project for the varchar, integer data types. 4)Can I use two fact tables in star schema. 5)3 jobs are running on the 2 nodes after I added one more node so can I compile those jobs to run on three nodes.
Which is the best institute in Hyderabad to learn OBIEE and DataStage?Please tell me faculty name also
In work load management there are three options of Low priority, Medium priority and High Priority Jobs which can be used for resource management. why this feature is developed when there is already jobs prescheduled by scheduler or autosys. what will be the use of workload management then?
Where do the datastage jobs get stored?