Search found 42189 matches

by chulett
Wed Dec 15, 2010 12:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert String MMDDYYYY to Db2 date MM/DD/YYYY
Replies: 7
Views: 4697

I seem to recall the DB2 stage wanting dates in internal format... :?
by chulett
Wed Dec 15, 2010 11:29 am
Forum: General
Topic: Not able to restart sequence job
Replies: 1
Views: 773

So... the same problem you've already posted here:

viewtopic.php?p=385020
by chulett
Wed Dec 15, 2010 9:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Display the long name of the day
Replies: 16
Views: 3388

That's a "best practice" for things like this - the stage variable does the evaluation of the expression once and then you leverage it multiple times. This also means there's only one place to change if the rules change, not "n" number of places... and maybe you miss one. :wink:
by chulett
Wed Dec 15, 2010 6:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to Timestamp conversion
Replies: 4
Views: 2398

I'm unclear how you can be saying that you are using "%yyyy%mm%dd%hh%nn%ss" in your function call and yet the error message shows "%yyyy-%mm-%dd %hh:%nn:%ss"... can you double-check, please? :?
by chulett
Wed Dec 15, 2010 12:52 am
Forum: IBM QualityStage
Topic: DATE8 in MatchSpecification
Replies: 15
Views: 7511

:!:

For goodness sake, people, use the dang Reply to topic button that is always just below the most recent post. There's absolutely no reason to 'Reply with quote' and thus quote everything every dang time you post. Please. This isn't email or a list server.
by chulett
Tue Dec 14, 2010 4:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to capture Db2 datbase rejected records
Replies: 10
Views: 3762

Check your link ordering, the Reject link must be after the main target link.
by chulett
Tue Dec 14, 2010 4:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Display the long name of the day
Replies: 16
Views: 3388

Where did "is Sunday" come from? You need to check for "= 0" as you posted earlier.
by chulett
Tue Dec 14, 2010 2:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Display the long name of the day
Replies: 16
Views: 3388

There's no "and" after the "then". Do the Sunday check in a stage variable and then check it in both field's derivations.
by chulett
Tue Dec 14, 2010 10:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Display the long name of the day
Replies: 16
Views: 3388

Pass in the date and it will pass out the weekday number, 0 thru 6, where 0 = Sunday since sunday is the default 'origin day'. There is also a way to override the origin day if you want the week to start on a different day like Monday but I wouldn't worry about that in your case.
by chulett
Tue Dec 14, 2010 10:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: View Data doesn't show all requested rows
Replies: 8
Views: 3116

Only when there is a metadata mismatch between the viewing stage and the actual data. Any chance there's "something wrong" with the rows that don't show up when you compare the column definitions to the actual data?
by chulett
Tue Dec 14, 2010 10:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Display the long name of the day
Replies: 16
Views: 3388

Your syntax for the WeekdayFromDate function is incorrect. Recheck the documentation and adjust accordingly.
by chulett
Tue Dec 14, 2010 10:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Complex Flat File: Issue when reading data from CFF stage
Replies: 1
Views: 1892

I don't believe that the CFF stage supports wildcards. Look into alternate mechanisms to determine and deliver the filename - a Sequence job that leverages a script and then passes in the current filename as a job parameter, perhaps. A Looping Sequence for multiple files. Etc.
by chulett
Tue Dec 14, 2010 7:37 am
Forum: General
Topic: Unix command in Before or After Job Sub routine
Replies: 2
Views: 1169

Same way you would from the command line. What UNIX? Typically a semi-colon but sometime "&&" is preferred in case of errors.
by chulett
Tue Dec 14, 2010 7:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete statement in DRS Stage for Oracle database
Replies: 4
Views: 1511

It's important to understand here that those areas are only executed once, not per row - hence their name and the problem.