Search found 80 matches

by venkatvelpula
Fri Jan 18, 2008 2:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to remove the header and trailer from a source file
Replies: 1
Views: 1389

Re: how to remove the header and trailer from a source file

Hi, You can use head and tail stages to get the first and last records and combine both of them with funnel. Thanks Venkat hi, i m facing a problem with sequential file. i have a source file with header,footer and detail records.header will be the first record and footer will be the last record ,in ...
by venkatvelpula
Tue Aug 28, 2007 7:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Initialization of timestamp to zero in Px transformer
Replies: 5
Views: 1808

I tried StringToTimeStamp('1900-01-01 00:00:00','%yyyy-%mm%-dd %hh:%nn:%ss') in the derivation of that column. I am getting the following fatal error , APT_CombinedOperatorController,0: Unrecognized timestamp format identifier: %45 APT_CombinedOperatorController,0: Caught exception from runLocally()...
by venkatvelpula
Tue Aug 28, 2007 7:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Initialization of timestamp to zero in Px transformer
Replies: 5
Views: 1808

I tried StringToTimeStamp('1900-01-01 00:00:00','%yyyy-%mm%-dd %hh:%nn:%ss') in the derivation of that column. I am getting the following fatal error , APT_CombinedOperatorController,0: Unrecognized timestamp format identifier: %45 APT_CombinedOperatorController,0: Caught exception from runLocally()...
by venkatvelpula
Mon Aug 27, 2007 4:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Initialization of timestamp to zero in Px transformer
Replies: 5
Views: 1808

I added column "PROCESSTIMESTAMP_MOD" data type char(10) in the output of the transformer, after that in the modify stage ( Processtimestamp_mod as input (char(10)) and processtimestamp as output, data type "TimeStamp (38) applied stringtoTimestamp function, but i got the following er...
by venkatvelpula
Mon Aug 27, 2007 9:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Initialization of timestamp to zero in Px transformer
Replies: 5
Views: 1808

Initialization of timestamp to zero in Px transformer

I am adding this timestamp filed to output link of transformer. datatype timestamp 38. In the transformer, if I give default value 0 in the derivation, its giving an error saying that, invalid conversion from int8 to timestamp.

Can anybody help me?