More efficient. No overhead in calling the library created by compiling the Transformer stage, which would be significant in a one-row job.
I think the echo approach would be the most efficient of all.
Search found 53125 matches
- Sun Sep 25, 2005 10:27 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Null file Handling
- Replies: 10
- Views: 3707
- Sun Sep 25, 2005 2:36 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: checking 'running' status
- Replies: 9
- Views: 2590
- Sun Sep 25, 2005 2:33 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to Detect Error rows in a delimited flat file
- Replies: 4
- Views: 1120
- Sun Sep 25, 2005 2:30 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Null file Handling
- Replies: 10
- Views: 3707
A Row Generator stage would be more efficient. Again specify to generate one row. Put zero into each column. You don't need an input file, null or otherwise.
Why not justas a command?
Why not just
Code: Select all
echo '0,0,0,0,0,0,0' > filepath - Sun Sep 25, 2005 2:28 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle parallel job stuck
- Replies: 17
- Views: 6645
- Sun Sep 25, 2005 3:42 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: DEfault values of export/import wizard
- Replies: 5
- Views: 1100
- Sun Sep 25, 2005 3:40 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: compiling jobs in datastage 6x
- Replies: 16
- Views: 4355
- Sun Sep 25, 2005 1:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: spilt the record into three records
- Replies: 13
- Views: 3336
- Sun Sep 25, 2005 1:07 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: reg. trim function in modify and type conversion
- Replies: 1
- Views: 920
There is no Trim() function in a Modify stage, but there is substring. However your assertion that you can not use any other stage type is simply incorrect - you could follow your Modify stage with any other stage type, such as a Transformer stage, and effect the Trim() function there. However, Trim...
- Sat Sep 24, 2005 11:50 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Null file Handling
- Replies: 10
- Views: 3707
- Sat Sep 24, 2005 11:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: To use 'CURRENT DATE' in a sql field in DB2 API for UDB .
- Replies: 3
- Views: 4300
- Sat Sep 24, 2005 11:48 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Julian to Gregorian(DB2 format YYYYMMDD) date conversion
- Replies: 6
- Views: 6894
Beware that the function name will depend on where you are executing. For example the equivalent in a Modify stage is called date_from_julian_day (all lower case, with underscores). You have found a function that is for a Transformer stage. Yes, that will give you the ordinal day number in the year,...
- Sat Sep 24, 2005 5:09 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Strange abort
- Replies: 4
- Views: 958
- Sat Sep 24, 2005 5:06 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Help needed to define transformer derivations
- Replies: 8
- Views: 1767
Re: re: urgent reply needed plzzzzzzzzzzzzzzzzzz
any one i want real help man not suggestions why you people dont understand i gone through the manual but when implementing its different . so pls help me You want "real" help. Then you go to your support provider and pay for it. Everyone here volunteers their time and their ideas. If you don't lik...
- Sat Sep 24, 2005 5:00 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Help needed to define transformer derivations
- Replies: 8
- Views: 1767
Even easier is to treat the incoming date as a string. You can do this in server edition. Then another possible answer is
Code: Select all
Right(InLink.TheDate,4) : Left(InLink.TheDate,2)