Search found 42189 matches

by chulett
Sun Nov 07, 2010 8:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: new line character as deimiter
Replies: 19
Views: 6554

What kind of delimiter - field, record? Where?

A UNIX newline is a CHAR(10), by the way, depending on the 'where' you can use that function or perhaps the value '010' by itself.
by chulett
Sun Nov 07, 2010 8:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server Routine to connect SQL Server
Replies: 11
Views: 3489

And I've never worked with SQL Server, so you'll need to wait for someone who has to know if what you are doing is appropriate for that database.

In the meantime, where exactly are you running this routine? In a Sequence job? Where is the return value used?
by chulett
Sun Nov 07, 2010 4:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server Routine to connect SQL Server
Replies: 11
Views: 3489

It specifically writes a message to the log to help determine what went wrong. Post it.
by chulett
Sun Nov 07, 2010 4:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assignment of a NULL value to a NOT NULL
Replies: 25
Views: 11072

Read up on NullToZero() and NullToValue() then use whichever is appropriate. Or simply use IsNull() to test and then assign whatever you like. Sam Ting.
by chulett
Sun Nov 07, 2010 9:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error When trying to Format a Parameter Value
Replies: 5
Views: 1520

I don't know DB2 but from googling around, it seems you don't need the picture clause. Try:

where B.OPEN_DT = DATE('#ps_FM_DT.p_FM_DT#')
by chulett
Sun Nov 07, 2010 9:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error When trying to Format a Parameter Value
Replies: 5
Views: 1520

Dates have no internal format. Use the DATE() function in your SQL to convert your parameter to internal format.
by chulett
Sun Nov 07, 2010 8:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server Routine to connect SQL Server
Replies: 11
Views: 3489

Perhaps it would help if you posted this exception or any other error/warning that you are seeing. You should also DSLogInfo() to write your final 'Command' out to the job's log so you can know that it is formatted correctly.
by chulett
Sat Nov 06, 2010 8:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error while viewing data from OCI Stage
Replies: 3
Views: 1695

All that sounds good, so unsure why you would be gettting that error. I would suspect either a bug or some kind of issue with 11g, since I don't think it is 'officially' supported. First thing I'd check is that you were up-to-date on your patches, and they can be plentiful. I'm also curious if the j...
by chulett
Fri Nov 05, 2010 11:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to open the operating system file "/tmp/select04
Replies: 2
Views: 1257

Guessing someone or something cleaned out your /tmp directory while the job was running.
by chulett
Fri Nov 05, 2010 5:19 pm
Forum: IBM<sup>®</sup> SOA Editions (Formerly RTI Services)
Topic: service aborts every minute
Replies: 2
Views: 2692

Right, it just means the job is aborting. The controlling processes see that and then automatically restart it, which can lead to this never-ending cycle until you put an end to it. As noted, usually a 'normal' DS issue, the same kind you would see if you ran the job a single time outside of this en...
by chulett
Fri Nov 05, 2010 7:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with pipe delimeter
Replies: 2
Views: 1126

Right - get the source file corrected, right now it is invalid.

1|"car|care"|UK
by chulett
Fri Nov 05, 2010 7:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inner join using hash file giving incorrect results.
Replies: 4
Views: 3448

Your best alternative to this is to do the sql join in your source stage, why the reluctance to do that? The only other approach is an 'advanced' approach and requires a multi-key hashed file (to ensure uniqueness), a VOC record, a UV stage over the hashed file with the 'multi-row result set' option...
by chulett
Fri Nov 05, 2010 6:55 am
Forum: General
Topic: Datastage 8.5 Download
Replies: 7
Views: 25490

Regardless, there is no "try it for free" concept, beta or not.
by chulett
Thu Nov 04, 2010 8:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inner join using hash file giving incorrect results.
Replies: 4
Views: 3448

Is the value in each Table2.a column unique? If not, you have destructive overwrite going on in the hashed file (last one in wins) based on that key and thus less records survive in the hashed file than you expect. It would also mean you don't see the cartesian product in the DataStage job's output ...