Search found 42189 matches

by chulett
Wed Aug 10, 2005 3:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: check constraint (SYS_C00380582)
Replies: 12
Views: 2732

ray.wurlod wrote:However, the OP stated that this time it's a CHECK constraint.

And? A 'not null' constraint is one type of check constraint. :P
by chulett
Wed Aug 10, 2005 2:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Note: Sequencer 'Sequencer_8' was entered, but never exited
Replies: 8
Views: 12190

rsrikant wrote:By the way is there anyway to copy a snapshot of my job into this post?

Next to last post on the first page of the topic.
by chulett
Wed Aug 10, 2005 2:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: check constraint (SYS_C00380582)
Replies: 12
Views: 2732

That 'SYS_' prefix just means whomever modeled the database didn't give the constraint a name. But you're right, the most common constraint is a 'not null' constraint.
by chulett
Wed Aug 10, 2005 12:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: check constraint (SYS_C00380582)
Replies: 12
Views: 2732

In the Schema Browser - select the table you are loading and it should be listed under the Constraints tab (on the right hand side) for that table. Either that or find it in the Constraints tab on the left hand side.
by chulett
Wed Aug 10, 2005 12:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Control and the SLEEP Statement
Replies: 6
Views: 1242

Perhaps there is a difference between Sleep and SLEEP? I've never tried to use it all upper-case. :?
by chulett
Wed Aug 10, 2005 11:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: check constraint (SYS_C00380582)
Replies: 12
Views: 2732

Check with your DBA, or a tool like TOAD (if working with Oracle) can show you the constraint definition so you could see what you are doing wrong.

Typical example: a field might be constrained to only accept a 'Y' or an 'N'... and you tried to insert a 'P'. :wink:
by chulett
Wed Aug 10, 2005 9:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Identify recent record by date
Replies: 10
Views: 1939

Last one in wins, so...
by chulett
Wed Aug 10, 2005 7:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Identify recent record by date
Replies: 10
Views: 1939

Sounds like a sql problem to me, not a DataStage one. Isn't there someone on site that can help you write your source query? :?
by chulett
Wed Aug 10, 2005 7:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: many columns concatenation into one field
Replies: 4
Views: 818

Sorry... better start typing. :wink:

Or click on the ellipses (...) and click your way through it.
by chulett
Wed Aug 10, 2005 7:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: remove NULLs
Replies: 1
Views: 597

There's no magic bullet. You either need to do it in your source query (like with NVL for Oracle) or in the derivation of each column.

Check out the transforms NullToEmpty and NullToZero- they do that substitution and make your job a little easier to read.
by chulett
Tue Aug 09, 2005 11:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to search a string and concatenate
Replies: 5
Views: 1448

The substring operator will work from the 'end' of a string. YourField[1] Tells it to take the first character from the end of the string. You could then compare that to "-" and if equal, swap it around to the front. Hmm... you posted in the Server forum but marked your job type as Parallel. Are you...
by chulett
Tue Aug 09, 2005 8:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FTP Plug-In
Replies: 3
Views: 987

meorz wrote:is there a book, online manual or anything about DataStage?

Book? No. Only 'official' things are the online help available from each Client tool and the .pdf documents automatically installed onto your pc with the client.
by chulett
Tue Aug 09, 2005 1:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transaction Grouping across multiple ODBC Stages
Replies: 2
Views: 974

You can (and must) use a single ODBC stage. The only time you would need to use multiple stages is if the target tables are in different databases. Each link can point to a different table, the only 'restriction' when using a single stage is they all must reside in the same database / instance and b...
by chulett
Tue Aug 09, 2005 9:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Sequecer
Replies: 7
Views: 2223

Use the same patch.