Search found 13 matches

by nnes
Tue Oct 11, 2011 1:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC stage doesn't run valid SQL statement
Replies: 5
Views: 42923

I also tried to run the query from a stored procedure and get this error instead: ODBC function "SQLFetch" reported: SQLSTATE = 24000: Native Error Code = 0: Msg = [IBM(DataDirect OEM)][ODBC SQL Server Driver]Invalid cursor state (CC_OdbcDBStatement::dbsFetch, file CC_OdbcDBStatement.cpp, ...
by nnes
Thu Oct 06, 2011 8:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC stage doesn't run valid SQL statement
Replies: 5
Views: 42923

Thanks jwiles. I am struggling a bit to follow your explanation. It is probably better if you show me some example SQL of what you mean. I tried this and get message "Incorrect syntax near 'fix_hra'" with (select ID,convert(varchar(255),NAME) NAME, version,CONVERT(xml,meta_data) META_DATA ...
by nnes
Wed Oct 05, 2011 12:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC stage doesn't run valid SQL statement
Replies: 5
Views: 42923

ODBC stage doesn't run valid SQL statement

I have this SQL statement that runs fine using the SQL Server client: with fix_hra (id, name, version, META_DATA) as (select ID,convert(varchar(255),NAME) NAME, version,CONVERT(xml,meta_data) META_DATA from HRA) SELECT ID, NAME, Version, Q.value('(@id)[1]', 'varchar(9)') AS 'QuestionID', Q.value('(@...
by nnes
Mon Aug 01, 2011 12:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: UTF-8 to ISO-8859-1 conversion
Replies: 0
Views: 2220

UTF-8 to ISO-8859-1 conversion

I've got a nvarchar in SQL Server (reads work with UTF-8) and want to output it to ISO-8859-1. Unfortunately not all UTF-8 characters can be represented in ISO-8859-1, so I get 50 warnings and the job aborts. Is there a way to make a best effort conversion and just replace "non-western" ch...
by nnes
Fri Nov 04, 2005 9:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Designer Crashes when working with Sequencers
Replies: 10
Views: 3381

Re: Designer Crashes when working with Sequencers

We are facing Designer crashes , lot of times, when working with Sequencers in 7.5.1A . Has anyone facing this kind of issue? Yeah Designer 751A crashes a lot with Sequencers on my machine too. I save soon, save often and hope for the best. What helped a lot in my case was deactivating the "Sh...
by nnes
Fri Nov 04, 2005 7:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage is eating all my memory
Replies: 6
Views: 2781

Don't know if this related or not... I just got a patch for memory leaks for datetime, numeric/decimal datatypes. We encountered the memory leaks when working with the Sybase, Teradata, and ODBC stages in PX. This patch was for DS751A on AIX. Ecase 76017. AIX+ODBC+Datetime in our case but the leaky...
by nnes
Thu Nov 03, 2005 7:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage is eating all my memory
Replies: 6
Views: 2781

You can work around it by spliting the feed into multiple files or feeds. I thought about that. It is a real pain to have to split the file in 5 parts and run 5 separate jobs for that though. Idealy you want to split depending on the size of the file because it is likely that the size of the input ...
by nnes
Thu Nov 03, 2005 7:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage is eating all my memory
Replies: 6
Views: 2781

kduke wrote:You probably have a memory leak. You need to figure out where. It may be in the ODBC driver.
That makes sense. I guess the ODBC stage has the memory leak since it is the one we use the least. They say those memory leaks are pretty common in C++.
by nnes
Wed Nov 02, 2005 2:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage is eating all my memory
Replies: 6
Views: 2781

Datastage is eating all my memory

Hi all, I have a very simple job that reads a sequential file 40Million rows at 1500kbyte/row= 60GByte. Goes through a modify stage to eliminate a few rows and transform date into timestamp and then loads it into SQL server using ODBC enterprise. As I run the job it increasingly takes more and more ...
by nnes
Thu Sep 15, 2005 7:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Orchestrate script calling issue
Replies: 12
Views: 5898

I think this change in transformation rule is not possible at runtime in a job but If you think it is possible to do through GUI, then suggestions are welcome :lol: Thanks & Regards dsusr Which got me thinking, and unfortunately I think it is not possible. You could generate the xml for the job...
by nnes
Wed Sep 14, 2005 2:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Custom Build Stage Issues. I get warnings
Replies: 4
Views: 2399

Ok, after messing arround with it some more I found out the following: 1. If you have one input and one output, RCP and Auto-Transfer do the same thing. 2. All input variables referenced in your code have to be defined in the input interface schema and all output variables referenced in your code ha...
by nnes
Tue Sep 13, 2005 8:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Custom Build Stage Issues. I get warnings
Replies: 4
Views: 2399

For question 1, the warnings per column are because you are using autotransfer AND have specified an output schema. You need to use one or the other. For question 2, check out the following posting: http://www.dsxchange.com/viewtopic.php?t=93517&highlight=buildop Hope this helps. Brad. Excellen...
by nnes
Mon Sep 12, 2005 2:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Custom Build Stage Issues. I get warnings
Replies: 4
Views: 2399

Custom Build Stage Issues. I get warnings

Job: Sequential File -> Custom Stage -> Sequential File I created a minimal custom build stage. I use the same table definition for input and output interfaces in the stage and also in the input and output links for the stage in the job. I set autoread, autowrite and autotransfer to true assuming I ...