Search found 15 matches

by aoriano
Thu Oct 22, 2009 7:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQLSTATE=S1000, DBMS.CODE=-7008
Replies: 6
Views: 6452

This is not a DataStage problem. You should probably show your error message to your DB2 DBA.

I had this problem once, but it was resolved by the DB2 team.
by aoriano
Mon Oct 05, 2009 9:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: And/Or with () doesn't work in Transformer Constraints
Replies: 9
Views: 5434

I would recommend making a VarChar stage variable "svCAT" derived by "Link_Inv_Retraite_VCN.CATEGORIES[1,2]:','" then the constraint: NOT(IsNull(Link_Inv_Retraite_VCN.ACT_INITIAL) OR IsNull(Link_Inv_Retraite_VCN.LISS_FINAL)) AND INDEX('07,15,01,16,02,',svCAT,1) This uses the IND...
by aoriano
Mon Oct 05, 2009 9:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: And/Or with () doesn't work in Transformer Constraints
Replies: 9
Views: 5434

You can also use the field function which split the string as all of you CATEGORIES starts with a number then a delimiter and a value. Not(IsNull(Link_Inv_Retraite_VCN.ACT_INITIAL)) And Not(IsNull(Link_Inv_Retraite_VCN.LISS_FINAL)) And ( Field(Link_Inv_Retraite_VCN.CATEGORIES,"-",0) ="...
by aoriano
Mon Oct 05, 2009 9:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: And/Or with () doesn't work in Transformer Constraints
Replies: 9
Views: 5434

If you specify 0 or a negative value as start argument, the value is assumed to be 1. Try changing you constraint for this one : Not(IsNull(Link_Inv_Retraite_VCN.ACT_INITIAL)) And Not(IsNull(Link_Inv_Retraite_VCN.LISS_FINAL)) And ( Link_Inv_Retraite_VCN.CATEGORIES[0,2] = "07" Or Link_Inv_R...
by aoriano
Mon Oct 05, 2009 7:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: And/Or with () doesn't work in Transformer Constraints
Replies: 9
Views: 5434

Not(IsNull(Link_Inv_Retraite_VCN.ACT_INITIAL)) And Not(IsNull(Link_Inv_Retraite_VCN.LISS_FINAL)) And (Link_Inv_Retraite_VCN.CATEGORIES[0,1]='7' Or Link_Inv_Retraite_VCN.CATEGORIES[0,2]='15') this should work if the character you are comparing is the first one in the string, otherwise, change start f...
by aoriano
Wed Sep 23, 2009 9:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: czech characters
Replies: 3
Views: 2399

The problem is solved. Even now, I don't know the DB2 NLS characterset as the JDE team couldn't give it to me (sik), I guessed it was NLS as it allowed chinese, japanese, czech characters. As I wrote, My DataStage NLS was UTF8. After some exchanges with the Jd Edwards ERP Team it seems this version ...
by aoriano
Fri Sep 18, 2009 8:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: czech characters
Replies: 3
Views: 2399

Can't anyone help me ?

Please say me if the way I explained my problem isn't clear.
by aoriano
Wed Sep 16, 2009 8:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: czech characters
Replies: 3
Views: 2399

czech characters

Hi, I have a SQL server 2000 source database (MS1252) with czech characters in Nvarchar (Unicode) fields. My target database is a DB2 database (JD Edwards) which allows czech characters. Here is the global design of the job (simplified) : Job1 : ODBC stage on the sql server database (NLS MS1252 with...
by aoriano
Mon Sep 14, 2009 9:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Delete the duplicates from Database
Replies: 8
Views: 4768

a) Write good records to new table. b) Drop old table. c) Rename new table to old table. That's a good solution if you don't have constraints like foreign key pointing on this table. But I agree with you, a job is not needed for this kind of task. rafidwh, why don't you use SQL ? It's much more fas...
by aoriano
Thu Aug 06, 2009 6:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle access failure
Replies: 9
Views: 5077

Hi,

You wrote the Jobs are running with the old Database. What's the difference between your databases ? Version ?

Have you tried using an oracle Oci Stage instead of an Oracle Oci 8 ?
by aoriano
Thu Aug 06, 2009 4:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Varchar size issue when migrating Db from ISO8859-1 to UTF8
Replies: 6
Views: 7286

I just don't understand why I can't import chinese characters in my Oracle Database . The NLS_characterset is UTF8 and all the varchar column are defined as varchar2(X Char), so stored in char mode and not byte. Ray Said : Almost everything is DataStage is based on characters, not bytes My Oracle St...
by aoriano
Mon Aug 03, 2009 6:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Varchar size issue when migrating Db from ISO8859-1 to UTF8
Replies: 6
Views: 7286

Hi, I have the same King of problem. gpaton wrote : If you were to reimport the Database meta data, you will find that for Char and Varchar columns, the length will be a multiple of the byte length ( depending upon the value set in the DataBase ). The soulution is to multiply the length values in th...
by aoriano
Fri Feb 27, 2009 4:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQLPrepare failed On Update existing rows only
Replies: 4
Views: 4048

I just don't know why there is a select.

As I thought it was suspicious, I checked the option again and it's "Update existing rows only". And How could it be a "Select", there is just an Input Stream connected to my ODBC stage.
by aoriano
Fri Feb 27, 2009 8:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQLPrepare failed On Update existing rows only
Replies: 4
Views: 4048

SQLPrepare failed On Update existing rows only

Hi, I am using an ODBC Stage to access a SQL Server 2000 Database and updates rows on a table. The option is "Update existing rows only". My Job had no problem but i added a column in the ODBC stage and now, There's an error on the SQLPrepare Select which determines if the rows exist or no...
by aoriano
Thu Oct 23, 2008 7:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning 0 row updated
Replies: 1
Views: 1512

Warning 0 row updated

Hi, I use DataStage Server 7.5. I use "Shared Container" with parameters such as the database table. The job is supposed to update some rows of the table but sometimes it updates 0 row. I don't want to use a "Look Up" to know if the row i want to update exists in the table becaus...