Search found 42189 matches

by chulett
Wed Apr 09, 2014 10:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert varchar to timestamp
Replies: 11
Views: 3950

OK, hold on... is this a Server job as posted? If so, my bad, lost track of what forum we were in - that function is a Parallel function, which would be why it would not be "accepted". You'd either need to work with IConv/OConv or just substring it apart and put it back together in the for...
by chulett
Wed Apr 09, 2014 10:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert varchar to timestamp
Replies: 11
Views: 3950

Classic problem - the format mask you use in the function needs to match the format of the incoming string, not any perceived output format. Timestamps don't have an internal format so it just needs to know how to parse the string to turn it into a timetamp.
by chulett
Wed Apr 09, 2014 10:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert varchar to timestamp
Replies: 11
Views: 3950

The "timestamp" part is the important part, not the specific format you posted. Have you tried using the StringToTimestamp function? What issues are you facing?
by chulett
Wed Apr 09, 2014 9:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: horizontal pivoting using transformer
Replies: 14
Views: 9929

Oh yes... a very special prize. <wink,wink>
by chulett
Wed Apr 09, 2014 8:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: horizontal pivoting using transformer
Replies: 14
Views: 9929

... or we could just continue to guess based on the wonderful example data.
by chulett
Wed Apr 09, 2014 8:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: loading Timestamp into Oracle
Replies: 9
Views: 2957

It looks to be losing the entire time portion, hence the default to midnight. Clarify for us exactly how your target column is defined in Oracle and how you are "loading" it in the job.
by chulett
Wed Apr 09, 2014 8:10 am
Forum: General
Topic: Error Logging
Replies: 5
Views: 1578

Too complex? Really? What I'm remembering is a list of jobs from the Sequence and their status - Ran OK, Aborted, etc. And from what I recall the problem child is the last one in the list. But... ok.
by chulett
Wed Apr 09, 2014 8:06 am
Forum: General
Topic: Looking for Datastage user related info
Replies: 4
Views: 1807

No such equivalent in the 7.5 world.
by chulett
Wed Apr 09, 2014 8:05 am
Forum: General
Topic: job stream is continuously shown as running in TWS
Replies: 2
Views: 1304

Move of a Tivoli than DataStage problem I would imagine and it depends on how Tivoli controls / initiates / monitors DataStage jobs. I'm assuming that would be part of the "job stream code" that was requested.
by chulett
Wed Apr 09, 2014 8:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading Integer in Db2 issue
Replies: 3
Views: 2315

In other words, you have no issue and it is doing exactly what it should be doing. Another alternative is to convert it back to a char when you select it from the DB2 table if that leading zero is needed / significant.
by chulett
Tue Apr 08, 2014 3:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find the last link of an etl job?
Replies: 10
Views: 4180

Technically, it seems to me that any stage with only an input link would be a target and thus considered as a 'last link'. And I believe that a call to DSGetStageInfo() would return that when using DSJ_LINKTYPES as the Info_Type.
by chulett
Tue Apr 08, 2014 1:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Checksum stage algorithm
Replies: 3
Views: 1816

32 characters? If so then yes, best assumption would be MD5. If it's important to know for certain, ask your official support provider... then let us know! :wink:
by chulett
Tue Apr 08, 2014 11:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Checksum stage algorithm
Replies: 3
Views: 1816

I don't see anything in the documentation that calls that out. What does it output as the 'checksum' - a string or a number? If it is the former then I'd assume it is an MD5 hash, for the latter I'd assume a CRC32 value.
by chulett
Tue Apr 08, 2014 11:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel Equivalent to UtilityRunJob
Replies: 6
Views: 1741

It is worth noting (again) that the filename property is required. So rather than putting something meaningless in there, understand that the stage will automatically combine it with the filter command to produce the stream of data that the stage will read. Meaning, you should be able to put your pa...
by chulett
Tue Apr 08, 2014 7:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: horizontal pivoting using transformer
Replies: 14
Views: 9929

HemaV wrote:i'm not sure on approach. trying to see anything can be done
Fine. Again - what are your Business Requirements / transformation rules? Explain in words how to perform the splitting of the two columns so that people can stop guessing what you need done.