Search found 36 matches

by wwalker
Thu Sep 24, 2009 3:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Primary Key violation on Update/Insert
Replies: 3
Views: 24552

This was a data related issue...the UPDATE failed on a unique index due to a duplicate SAP customer number..which should theoretically be impossible...perhaps someone manually "enhanced" the data?

Thanks...L8r!

Wade
by wwalker
Thu Sep 24, 2009 2:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Primary Key violation on Update/Insert
Replies: 3
Views: 24552

Primary Key violation on Update/Insert

We have an interesting problem that I am having trouble understanding... We have an environment that has been running daily for about 9 years and is quite stable. However, yesterday, on a load of about 100,000 records, a single record failed with : [DataStage][SQL Client][ODBC][Microsoft][SQL Native...
by wwalker
Tue Aug 04, 2009 9:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Inserts into SQL Server results in Warnings
Replies: 10
Views: 6961

Hi, Craig, Thanks for the reply. I did try to reduce to a length of 19, but the problem persisted. I discovered in one of the existing routines that created a timestamp, it was appearing as I posted 2009-8-04 10:41:02 instead of 2009-08-04 10:41:02 I corrected the existing routine and re-tested succ...
by wwalker
Tue Aug 04, 2009 5:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Inserts into SQL Server results in Warnings
Replies: 10
Views: 6961

Hi, Craig,

Datetime as selected from SQL Server> 2009-07-13 14:15

LASTUPDATE as generated in routine > 2009-8-04 10:41:02
by wwalker
Tue Aug 04, 2009 5:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Inserts into SQL Server results in Warnings
Replies: 10
Views: 6961

Isn't StringToDate a Px transformation?? While it is available in Server, it doesn't seem to be working.
by wwalker
Tue Aug 04, 2009 2:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Inserts into SQL Server results in Warnings
Replies: 10
Views: 6961

Addendum 2 : Best option is for the LASTUPDATE field to be set to Char(23,3), Data Element SQL:SMALLDATETIME. At least this does not yield any warnings during the load, though it does during a View Data. For me, this is not closed. There should be no warnings whatsoever, and this is not making sense...
by wwalker
Tue Aug 04, 2009 2:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Inserts into SQL Server results in Warnings
Replies: 10
Views: 6961

Addendum: I noticed that concatenating ':00.000' to the end of the date fields is working, however, on our LASTUPDATE field which the run time is written to, it is NOT, though its datatype definition and structure at the target is identical to the other fields. This field still has the same, outstan...
by wwalker
Tue Aug 04, 2009 1:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Inserts into SQL Server results in Warnings
Replies: 10
Views: 6961

Timestamp Inserts into SQL Server results in Warnings

This is a complex issue to describe relating to treatment of timestamp data, but after hours of A/B testing hopefully I can be concise. to this point, I have exhausted all conceivable options and still this is not working without warnings. Basing new development on the exact same approach used in th...
by wwalker
Thu Jan 29, 2009 2:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate Metadata from File, then load second file?
Replies: 5
Views: 2406

I also agree with Mike, and was also my concern. However, my client has decided to do this with another technology, so therefore, this is resolved on the DS side

Thanks

Wade
by wwalker
Wed Jan 28, 2009 9:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate Metadata from File, then load second file?
Replies: 5
Views: 2406

Generate Metadata from File, then load second file?

Hi guys Just got a requirement to do the following: Receive two files, one with the target metadata and another containing the data - Create the table based on the supplied metadata in the first file and then insert the data in the second file. This will need to be a generic solution, as there are p...
by wwalker
Tue May 20, 2008 12:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert to AS400 hangs
Replies: 3
Views: 1905

Found the solution... Due to large data volumes received during development, and performance issues, I had set the commit interval quite high. Now, however, I am only receiving under 100 records, which is under the commit interval. DataStage seems to be waiting for additional lines (which really doe...
by wwalker
Mon May 19, 2008 5:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert to AS400 hangs
Replies: 3
Views: 1905

Insert to AS400 hangs

Something I don't understand currently is happening during an insert to AS400. - DRS Stage over ODBC (AS400 client not installed on DS Server) - AS400 table is journalized - Field datatypes - all character except one numeric. Data verified for Numeric field to be numeric (eg. :010) for all records J...
by wwalker
Tue Apr 22, 2008 12:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: AS400 Sequence at Insert
Replies: 0
Views: 1173

AS400 Sequence at Insert

Hi, This really should not be that complex, but I am having trouble getting it to work. I am trying to invoke a sequence at insert time in AS400, but my client prefers to use a sequence created in AS400 rather than the KeyMgtGetNextValue routine. I have been using the following sql in the ODBC stage...
by wwalker
Wed Apr 16, 2008 1:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: AS400 & Date format YYYYMMDD
Replies: 2
Views: 1729

Thanks, Ray...confession time.

My staging point, for some reason had the YYYYMMDD field defined as datatype "Date" instead of "decimal". once I set this correctly to "decimal", the problem was resolved.
by wwalker
Tue Apr 15, 2008 11:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: AS400 & Date format YYYYMMDD
Replies: 2
Views: 1729

AS400 & Date format YYYYMMDD

Hi, Having a problem I am sure I have seen before, but going over my past projects, I have not found the solution I used before. I am updating from AS400 to the same AS400 with a hash file staging point after a transformer. The objective is to put today's date in the target field (Decimal 15,6) in t...