Search found 42189 matches

by chulett
Thu Nov 11, 2010 9:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to convert 5 digit julian date to calendar date ?
Replies: 14
Views: 9990

Go back to your source, where the data comes from. Ask them what date that value represents. There's no way for us to know.
by chulett
Thu Nov 11, 2010 9:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string to date
Replies: 29
Views: 7426

No, you've said you need to convert to a TIMESTAMP not a DATE. Regardless, any external format will work as long as you match that in the function call with the proper mask.
by chulett
Thu Nov 11, 2010 8:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Best Way to Load flat file with no delimiters
Replies: 7
Views: 4028

Don't use the substring function, use the substring operator - the square brackets: YourField[3,5] takes 5 characters starting from the 3rd. That syntax is universal across the two products.
by chulett
Thu Nov 11, 2010 8:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string to date
Replies: 29
Views: 7426

AS the target is not null I changed the incoming rows from null to ' ' . will that satisfy the condition? Has it satisfied it yet? As noted, spaces are not a valid date. You need to use an 'in-band' null value, an actual date that represents null based on your business rules, say like "12/31/9...
by chulett
Thu Nov 11, 2010 8:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a value from oracle table as a parameter
Replies: 4
Views: 1459

Not all answers come from Ray, although it seems like it some days. :wink:
by chulett
Thu Nov 11, 2010 8:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential file name with Timestamp
Replies: 8
Views: 3287

Right, a full path not a relative path. That or 'cd' there first:

Code: Select all

cd target_directory && mv old new
by chulett
Thu Nov 11, 2010 6:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a value from oracle table as a parameter
Replies: 4
Views: 1459

Search here for USERSTATUS.
by chulett
Thu Nov 11, 2010 6:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential file name with Timestamp
Replies: 8
Views: 3287

Those are the two ways but you don't need a Sequence job for the first, it can be done 'after job' using ExecSH.
by chulett
Thu Nov 11, 2010 6:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sql code 1403 and records getting rejected..
Replies: 6
Views: 3733

Then you'll need to ensure you pass in a full timestamp value, not just 'a date'. Of course, that timestamp can contain a completely zero time portion, including any fractional seconds (if needed).
by chulett
Wed Nov 10, 2010 9:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string to date
Replies: 29
Views: 7426

A null date is valid as long as the target accepts nulls. Under no circumstances is any number of spaces a valid date.
by chulett
Wed Nov 10, 2010 9:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sql code 1403 and records getting rejected..
Replies: 6
Views: 3733

What is the Oracle column's type? While the job can use a Timestamp in either case, things are different when populating a DATE versus a TIMESTAMP.
by chulett
Wed Nov 10, 2010 9:24 pm
Forum: General
Topic: sequence job restartability
Replies: 5
Views: 1609

Sure, of course you can add it, just wanted to make sure you understood it wouldn't help with this particular run. As to the 'how to achieve' question, there is the Terminator stage you can specifically link to or read up (here and in the docs) on the 'Automatically handle' compilation option. With ...
by chulett
Wed Nov 10, 2010 9:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sql code 1403 and records getting rejected..
Replies: 6
Views: 3733

"%yyyy/%mm/%dd %hh:%mm:%ss"
by chulett
Wed Nov 10, 2010 8:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string to date
Replies: 29
Views: 7426

Post the actual, unedited error plus the exact syntax you used in your job.
by chulett
Wed Nov 10, 2010 8:53 pm
Forum: General
Topic: sequence job restartability
Replies: 5
Views: 1609

Too late now, unfortunately, you'll need to run the jobs manually from 4 on outside of the Sequence job to pick up where you left off. That or copy the Sequence and remove the first three jobs. In the future, build restartability into the Sequence via the 'Add Checkpoints' compilation option. Make s...