Search found 42189 matches

by chulett
Thu Jan 13, 2011 6:29 am
Forum: General
Topic: how to insert values into sql server table from ds routine
Replies: 5
Views: 8917

And your command line utility appears to be SQLCMD. I'm sure your DBA could help you with syntax questions.
by chulett
Wed Jan 12, 2011 5:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sel_Contingent_Commission: Error occurred during initializeF
Replies: 6
Views: 4096

Not sure why in one and not the other but it seems your quotes are being stripped. Sometimes the easiest solution is to put the quotes in the query itself rather than the parameter:

MEASURE = Paid Cont Comm

and Measure = '#MEASURE#'
by chulett
Wed Jan 12, 2011 4:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Questions regarding Hash files and hash file stage
Replies: 54
Views: 42070

Yes. I'm pretty sure that as long as there is a VOC record for the hashed file (and there is one automatically when it is created in an "Account") then sql statements like that are valid.

There is other (Retrieve?) syntax that is valid as well, I'll leave that for Ray or Kim to add.
by chulett
Wed Jan 12, 2011 2:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Questions regarding Hash files and hash file stage
Replies: 54
Views: 42070

Keep in mind the fact that hashed files do a "destructive overwrite" based on the key(s) defined and "last one in wins". In other words, just because you wrote X records to the hashed file doesn't mean there will be X in there when you select back out from it... or count them.
by chulett
Wed Jan 12, 2011 10:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need Repetition of rows
Replies: 6
Views: 1785

... or you could upgrade to 8.5 where they've implemented "transformer looping". :wink:
by chulett
Wed Jan 12, 2011 7:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: READING MAINFRAME FILES USING CFF STAGE VALIADTING IT
Replies: 1
Views: 1002

Define for us what exactly "validate file" means.
by chulett
Wed Jan 12, 2011 7:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using views in place of tables in teradata connector stage
Replies: 2
Views: 2676

... and/or your Teradata DBA.

Does any database allow a bulk load to a view? Other than RedBrick. :wink:
by chulett
Wed Jan 12, 2011 7:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implicit conversion issue
Replies: 4
Views: 2745

What is the characterset of your Oracle database? Is it in fact using a multi-byte one? This is typically exacerbated by using "byte semantics" in Oracle, meaning you have a VARCHAR2(80) column that is defined as 80 BYTES when it really should be 80 CHARACTERS.
by chulett
Wed Jan 12, 2011 7:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: In the seq file, will there be any loss of decimal values?
Replies: 2
Views: 1139

Re: In the seq file, will there be any loss of decimal value

suresh_dsx wrote:we observed loss of data at sum of the column not at the row level.
This implies an issue with however you are doing the "sum" of the file data... can you explain how you are doing that?
by chulett
Wed Jan 12, 2011 7:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with a sequencer
Replies: 10
Views: 3657

You can't in this particular scenario. Use two targets for this, one for the insert and one for the update. Yes, that does mean you need to determine which is which rather than relying on the crutch of the database doing that for you but that should be a very simple lookup.
by chulett
Wed Jan 12, 2011 7:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Phantom error when using DSSetUserStatus routine
Replies: 2
Views: 1740

Also, after the job Aborts, please Reset the job from the Director and post the contents of any "From previous run..." log message that gets added from the reset.
by chulett
Wed Jan 12, 2011 7:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to improve performance of this job?
Replies: 7
Views: 2801

Best way to check that the target writes are not the issue, put an @FALSE constraint in the last transformer so nothing goes to the target.
by chulett
Wed Jan 12, 2011 7:30 am
Forum: General
Topic: Absolute path names when moving from DEV to PROD
Replies: 3
Views: 2646

I don't recall which way is which and no longer have any ability to test the theory, but I seem to recall DataStage can handle this rather easily. Meaning, one of the two slashes works in both environments and it knows that it needs to "flip it over" for the "other" environment. ...
by chulett
Wed Jan 12, 2011 7:25 am
Forum: General
Topic: how to insert values into sql server table from ds routine
Replies: 5
Views: 8917

Best to start by posting in the correct forum so I don't have to move it - the FAQ Discussion forum is for discussing topics that could become FAQ postings, not general support. With that out of the way, curious why you stated "without using insert statement"? You want to put data in a dat...
by chulett
Tue Jan 11, 2011 3:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Questions regarding Hash files and hash file stage
Replies: 54
Views: 42070

That's true, I always forget you can change the default, mostly because you really (really) shouldn't do it. :wink: