Hi naveen.p
SQLCODE 3107 means that there is at least one message in the message file - check it out and ask your DBA if you do not know what it means.
The message file is a option in the DB2 Connector.....
regards
MT
Search found 194 matches
- Tue Mar 29, 2011 5:03 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DB2 Connector Error
- Replies: 2
- Views: 3640
- Thu Mar 17, 2011 9:25 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DB2 connectivity
- Replies: 2
- Views: 3120
Re: DB2 connectivity
Hi suryadev, you have to catalog the database on your new DataStage server. This is done "outside" DataStage. On the DataStage server you should have a DB2 client installed to be able to connect to your DB2 data sources. In thios cklient you have to catalog all the databases you are going ...
- Thu Mar 17, 2011 6:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to get the N th row
- Replies: 6
- Views: 3201
- Thu Mar 17, 2011 3:30 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to get the N th row
- Replies: 6
- Views: 3201
- Tue Mar 15, 2011 2:00 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Getting problem with Chinese characters when loading to DB2
- Replies: 9
- Views: 12150
- Tue Mar 15, 2011 12:10 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Getting problem with Chinese characters when loading to DB2
- Replies: 9
- Views: 12150
Hi ICE, 1. Do you mean that our DS server should have install Chinese font??? Actually I tried to add one Chinese font from Windows font installer but it cannot show the font name even. I do not know why :( => No I think DS is not able to show the characters in general - I do not think this is a way...
- Mon Mar 14, 2011 1:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue in loading data using DB2UDB Enterprise Stage...
- Replies: 4
- Views: 2696
Re: Issue in loading data using DB2UDB Enterprise Stage...
Hi kaps you have to read the error message completly main_program: SQL0303N A value cannot be assigned to a host variable in the SELECT, VALUES, or FETCH statement because the data types are not compatible. SQLSTATE=42806 Check the data types your are going to load and their nullability. regards Mic...
- Mon Mar 14, 2011 2:35 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Getting problem with Chinese characters when loading to DB2
- Replies: 9
- Views: 12150
Hi ICE, UTF-8 characters are not simple to handle because in your case you do not know wether the character is incorrectly stored in the database or only displayed in an incorrect way. Here are some points to consider: - Do you have a UNICODE font installed to be able to show all the chinese charact...
- Fri Mar 11, 2011 8:48 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Delete and Load the Table
- Replies: 3
- Views: 2019
Re: Delete and Load the Table
Hi maurya, it is simple to create a single job for that where you delete data before you insert the new ones (i.e. before SQL) but I think performance is a important thing for that. I do not know which database you use but I recommend to closely work together with the DBA in order to support your jo...
- Fri Mar 11, 2011 6:41 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: IsNull not working
- Replies: 9
- Views: 7761
Re: IsNull not working
Hi mac4rfree85,
why do you want to trim something which is NULL?
Try this logic
If IsNull(columnName) Then "" Else trim(columnName)
regards
Michael
why do you want to trim something which is NULL?
Try this logic
If IsNull(columnName) Then "" Else trim(columnName)
regards
Michael
- Fri Mar 11, 2011 2:42 am
- Forum: General
- Topic: 100 job in one Sequence Job
- Replies: 4
- Views: 2401
Re: 100 job in one Sequence Job
Hi Vitumati, depending on what you mean with ... But I need to design one sequence to trigger all jobs at a time. you could design a single sequence where you add a sequence to your jobs - even they are independend - in order to decrease the parallelism which will kill your machine (see the other co...
- Thu Mar 03, 2011 2:11 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Hierarchical Logic implementation
- Replies: 1
- Views: 1906
Re: Hierarchical Logic implementation
Hi sourabhverma, there is a solution to in SQL: recursive SQL. It is a little complicated but with recursive SQL it will work with any number of levels. I do not know the Netezza database you use but there is a good explanation of recusive SQL in the "DB2 SQL Cookbook". You wwill find it i...
- Thu Mar 03, 2011 1:21 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Load 0.5 million records into DB2 stage
- Replies: 3
- Views: 2656
Thanks for the clarification. If i enabled execution mode as parallel for DB2 API stage then is there any performance improvement. I could see default execution mode is Sequential. Hi, the DB2 API stage is a sequential stage. You could tune it by setting approprate ARRAY SIZE and TRANSACTION SIZE t...
- Thu Mar 03, 2011 12:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Logic Implementation in Transfomer
- Replies: 7
- Views: 3647
Hi, hi One more requirement to this sam tansaction type should have sam batch id .. Even the second by MT did nor work .. well you should not expect a fully programmed syntax and solution - you have to add some more thoughts by your own. The input should be sorted by transaction type. You have to de...
- Wed Mar 02, 2011 3:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Logic Implementation in Transfomer
- Replies: 7
- Views: 3647
Re: Logic Implementation in Transfomer
Hi Vidya, you could use the different partitions for your batch id calculation. You could do it by having two stage variables - a simple counter (counter = counter + 1) - batch_id = @PARTITIONNUM + counter*@NUMPARTITIONS Additionally you have to follow Rays advise in order to have all identical tran...