I was hoping that was the issue but doesn't seem to be as I used the expression editor to bring in IsValid and I got the following
IsValid(%typestring%,%valuestring%)
I even tried adding the 3rd argument but the text stays red and when I validate it says too many argumnets in expression.
Search found 75 matches
- Wed Mar 02, 2011 9:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: IsValid using Date
- Replies: 7
- Views: 23343
- Wed Mar 02, 2011 5:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: IsValid using Date
- Replies: 7
- Views: 23343
IsValid using Date
What am I doing wrong. I first did this and it worked fine unless I encountered an invalid date like '999999' StringToDate(stgAcctDate, '%1950yy%mm%dd') So, then I added this to take care of that: if IsValid('Date', stgAcctDate) then StringToDate(stgAcctDate, '%1950yy%mm%dd') else SetNull(). Everyth...
- Fri Jan 28, 2011 1:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warnings in the lookup stage
- Replies: 6
- Views: 5768
I received the same error when doing a lookup in Parallel. I wrote a small parallel job the read in my lookup file and process it through a Remove Duplicates stage and got the same record count going into the De-Dupe stage as came out. Therefore, duplicates is not the issue. This Warning only starte...
- Tue Jan 18, 2011 8:54 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Testing for Null on a not nullable field which is Nullable
- Replies: 4
- Views: 2241
- Mon Jan 17, 2011 4:46 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Testing for Null on a not nullable field which is Nullable
- Replies: 4
- Views: 2241
- Mon Jan 17, 2011 3:17 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Testing for Null on a not nullable field which is Nullable
- Replies: 4
- Views: 2241
Testing for Null on a not nullable field which is Nullable
I'm getting an error using the IsNull() function on a field that DS is saying is not nullable. However the field is nullable on the table(SQL server) yet datastage, looking at the schema looks like it doesn't see it that way. Below is the SQL. As you can see the field in question comes from a subsel...
- Thu Jan 13, 2011 2:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Can't get milliseconds on my timestamp
- Replies: 4
- Views: 1679
- Thu Jan 13, 2011 8:23 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Can't get milliseconds on my timestamp
- Replies: 4
- Views: 1679
Thanks for the response. I tried those as well. I just did happen to stumble on to the issue. In the 'Extended' column within the transformmer I had to select miroseconds and it worked when writing to the database. When writing to the file I had to select miroseconds as well. In addition on the sequ...
- Wed Jan 12, 2011 9:54 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Can't get milliseconds on my timestamp
- Replies: 4
- Views: 1679
Can't get milliseconds on my timestamp
I have a string "2011-01-05 06:10:30,339" that I try to move to a timestamp field but no matter what I try the milliseconds are getting cut off. The timestamp is defined as timestamp len=23 scale=3. inside a transformmer I've tried: StringToTimestamp(field,"%yyyy-%mm-%dd %hh:%nn:%ss,%...
- Mon Nov 08, 2010 4:22 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Setting output field to Null in Modify stage
- Replies: 4
- Views: 1720
- Fri Nov 05, 2010 3:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Setting output field to Null in Modify stage
- Replies: 4
- Views: 1720
- Fri Nov 05, 2010 2:51 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Setting output field to Null in Modify stage
- Replies: 4
- Views: 1720
Setting output field to Null in Modify stage
Any way to set an output field to NULL in the modify stage? I've tried
EVNT_ACTVTY_SEND = null and
EVNT_ACTVTY_SEND = SetNull()
and neither work.
thanks
EVNT_ACTVTY_SEND = null and
EVNT_ACTVTY_SEND = SetNull()
and neither work.
thanks
- Sun Sep 05, 2010 8:54 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ODBC vs DB2 Connector Stage
- Replies: 4
- Views: 3356
- Sun Sep 05, 2010 8:45 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Why Doesnt Convert() change this character?
- Replies: 1
- Views: 1123
- Sat Sep 04, 2010 9:32 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ODBC vs DB2 Connector Stage
- Replies: 4
- Views: 3356
ODBC vs DB2 Connector Stage
Has anyone seen more reliablity with the ODBC connector stage compared to the DB2 connector stage? I'm new to parallel and I like the performance of the DB2 connector especially settign it to insert new update existing. However, I been hit or miss with the stage as there were times I'd change just t...