Search found 6797 matches

by DSguru2B
Thu May 31, 2007 7:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: decimal to float
Replies: 9
Views: 2307

I believe you need to use both the functions. First to truncate your decimal to a precision of 2 and then convert it to dfloat. Specify a stage variable with length that is equal to the length of your float target field. Set the precision to 2. Specify the derivation for this stage variable say Trun...
by DSguru2B
Thu May 31, 2007 7:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: .txt File without delimiter
Replies: 4
Views: 1844

head and tail commands would work on a unix box and not on a windoze box, unless MKSToolkit is installed.
by DSguru2B
Thu May 31, 2007 7:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date plus months
Replies: 6
Views: 1629

Nothing out of the box to add months. You can add days but not month. You can, however, create your own C routine to do that. It should'nt be hard.
by DSguru2B
Thu May 31, 2007 7:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference between filter stage and constraint
Replies: 4
Views: 1526

Re: Difference between filter stage and constraint

satyanarayana wrote:Filterstage as good performance compare to Trans..

That statement does not hold true for versions 7.5 and higher.
by DSguru2B
Thu May 31, 2007 7:28 am
Forum: General
Topic: AddMonths routine
Replies: 4
Views: 2013

There is also AddMonth() routine by Ray. Search will turn it up.
by DSguru2B
Thu May 31, 2007 7:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequencer
Replies: 5
Views: 947

O ok. O yea, thats right, all present sequence jobs will remain unchanged and new ones will be affected. Thanks for the correction Craig.
by DSguru2B
Thu May 31, 2007 7:13 am
Forum: General
Topic: Executing DB2 Stored Procedure - Fails
Replies: 2
Views: 1684

Are there any other error/warning messages?
Have you ever successfully compiled a job with a transformer in it? Its more than likely that your C compiler is not set up. I dont see any reason why a transformer cannot sit between an STP and sequential file stage.
by DSguru2B
Wed May 30, 2007 1:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: decimal to float
Replies: 9
Views: 2307

Wrong syntax. There is no "fix_zero" in DecimalToDecimal(). Just give the "trunc_zero".
by DSguru2B
Wed May 30, 2007 1:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Routine Source Code
Replies: 4
Views: 839

In that case the routines and your jobs may not have design info and just executables.
by DSguru2B
Wed May 30, 2007 11:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Routine Source Code
Replies: 4
Views: 839

What routines specifically? I just double checked and all my routines have visible code.
As for your second error, search on the error message. This has been discussed before.
by DSguru2B
Wed May 30, 2007 11:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: decimal to float
Replies: 9
Views: 2307

Use DecimalToDFloat() or DecimalToDecimal() with "trunc_zero" specification and set the precision to 2.
by DSguru2B
Wed May 30, 2007 11:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: null value to timestamp
Replies: 6
Views: 4714

"" is not a NULL and certainly not a valid timestamp and hance your error. Use SetNull() in transformer or make_null() in modify stage.
by DSguru2B
Wed May 30, 2007 11:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequencer
Replies: 5
Views: 947

Doing it in the Administrator will set all sequence jobs as 'restartable'. If only the current/few sequences need to be restartable, then you can do it by checking the same option in the job properties of the sequence job.
by DSguru2B
Wed May 30, 2007 11:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Paremetrize the columns in a DB stage.
Replies: 7
Views: 1764

Yes. SQL will be surrounded by hashes ofcourse telling the engine that it is a parameter.
by DSguru2B
Wed May 30, 2007 10:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Paremetrize the columns in a DB stage.
Replies: 7
Views: 1764

I doubt it. If you are really eager to get rid of 10 jobs and keep one then you can get away with it by maintaining two jobs. Job1 will load your source file into a temp table. Job2 will take in user defined sql that joins the tables and spits out the result to a flat file. You can parametrize the u...