Search found 312 matches

by Marley777
Wed Oct 24, 2007 6:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Combine trailer record to output file
Replies: 4
Views: 2353

Hi Ifong, thanks for reading. At the end of the day I still should have a file with detial records and a trailer record containing counts. The record formats for the two will never be the same. I'm not sure how the funnel stage will work in your example? Could you please elaborate. Thank you!!!!
by Marley777
Wed Oct 24, 2007 5:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Combine trailer record to output file
Replies: 4
Views: 2353

Combine trailer record to output file

:? Hi, I have a transformer stage that has 2 output links. Each link has different metadata because one link is a trailer record containing various counts derived in the transformer during processing. I only right the trailer record once at the end of processing. How can I bring the 2 links together...
by Marley777
Wed Oct 24, 2007 5:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert timestamp to MMDDCCYYHHMMSS
Replies: 18
Views: 7734

Thanks to everyone for you help.

Hi DSguru2B, it looks like the sequential file stage gives me the option to override the timestamp default. It's on the format tab in the sequntial file stage. Is this what you were thinking too? Thanks!!
by Marley777
Tue Oct 23, 2007 2:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert timestamp to MMDDCCYYHHMMSS
Replies: 18
Views: 7734

Actually I'm going to try this instead


StringToTimestamp(DateToString(CurrentDate(),"%mm-%dd-%yyyy"),"%mm-%dd-%yyyy-%hh.%nn.%ss")


Is there a better way? Thanks!!!
by Marley777
Tue Oct 23, 2007 2:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert timestamp to MMDDCCYYHHMMSS
Replies: 18
Views: 7734

I going to try this, but there may be a better way. Can anyone think of a better approach?


DateToString(CurrentDate(),"%mm-%dd-%yyyy") : CurrentTime()
by Marley777
Tue Oct 23, 2007 2:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert timestamp to MMDDCCYYHHMMSS
Replies: 18
Views: 7734

For a timestamp the format is %yyyy-%mm-%dd %hh:%nn:%ss, but I need to convert to %mm-%dd-%yyyy %hh:%nn:%ss

Thanks
by Marley777
Tue Oct 23, 2007 2:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert timestamp to MMDDCCYYHHMMSS
Replies: 18
Views: 7734

Thanks for reading.

I'm trying to take the date suplpied by the DataStage CurrentTimestamp() function within a transformer derivation and convert it to MMDDCCYYHHMMSS.
by Marley777
Tue Oct 23, 2007 2:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert timestamp to MMDDCCYYHHMMSS
Replies: 18
Views: 7734

I read the PX PDF, but still trying to find a specific example. I trying to simply take CurrentTimestamp and convert it to MMDDCCYYHHMMSS.

:oops:
by Marley777
Tue Oct 23, 2007 1:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: LPAD equivalent in DS
Replies: 5
Views: 3906

Hi, how do you do this on in a DataStage PX 7.5 job? Thanks!!
by Marley777
Tue Oct 23, 2007 1:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert timestamp to MMDDCCYYHHMMSS
Replies: 18
Views: 7734

Convert timestamp to MMDDCCYYHHMMSS

:)

Hi, thanks for reading. How can I convert a timestamp to MMDDCCYYHHMMSS? Thanks!!
by Marley777
Mon Oct 22, 2007 10:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting linkcount from previous stage
Replies: 6
Views: 2327

count

:oops:

I should have asked; What did you do in the seperate job to obtain the count?


Thanks!!
by Marley777
Fri Oct 19, 2007 12:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting linkcount from previous stage
Replies: 6
Views: 2327

Final Count

Hello ABC123, how did you end up obtaining the final count in a seperate job? Thanks!!!
by Marley777
Wed Jan 10, 2007 12:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Failure during execution of operator logic
Replies: 10
Views: 10789

Thanks for both responses. If it were a termination character in a varchar or char field would the job run okay with the same data if you simply resubmit the job? The job design is DB2 ------> funnel ---> lookup ----> transformer ....etc DB2 The funnel stage is what spits out the fatal error.
by Marley777
Wed Jan 10, 2007 7:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Failure during execution of operator logic
Replies: 10
Views: 10789

Failure during execution of operator logic

Greetings...we have a job that has been running in our production environment for several years now with no issues. Our last run produced the following fatal errors: Funnel_23,0: Failure during execution of operator logic. Funnel_23,0: Fatal Error: APT_SYSselect returned error status -1 and no input...
by Marley777
Thu Oct 26, 2006 6:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join is returning a default date
Replies: 8
Views: 2618

The date is defined as a 'date' field.