Search found 19 matches

by ms294
Tue May 11, 2010 9:56 am
Forum: General
Topic: DS7.5 Checksum
Replies: 2
Views: 1755

DS7.5 Checksum

Does any one know what standard does Datastage 7.5 Checksum() function will return value ? I need use Checksum() function in my project, but some time it get CRC CCITT value, some time it didn't. I'm sure DS Checksum() should standard on one standard, either CRC 16, CRC 32 or CRC CCITT, but it looks...
by ms294
Wed Apr 28, 2010 8:14 am
Forum: General
Topic: DS 7.5 ODBC Stage
Replies: 7
Views: 3495

Does the executing user have INSERT privilege to that table? Please post any error message that has been reported. ... Yes, here are error Statement was:{call TEST_DB.dbo.proc_AIP_Get_PeriodicAverageRates} SQLSTATE=37000, DBMS.CODE=1934 [DataStage][SQL Client][ODBC][DataDirect][ODBC SQL Server Driv...
by ms294
Tue Apr 27, 2010 1:19 pm
Forum: General
Topic: DS 7.5 ODBC Stage
Replies: 7
Views: 3495

DS 7.5 ODBC Stage

Does anyone have expereience to use ODBC stage to call stored procedure on Datastage 7.5 Server job ? It's looks like my stored procedure call to SQL Server 2005 database can't insert data to SQL table?
by ms294
Thu Apr 22, 2010 9:38 am
Forum: General
Topic: CheckSum() Function
Replies: 11
Views: 9314

One cannot convert from one CRC result to another, the algorithms don't work that way. You could either program your own CRC-16 in BASIC or use a UNIX level CRC-16 program and call that from your job for each value to be computed. Good suggestion, I think write a CRC-16 program is good option, but ...
by ms294
Thu Apr 22, 2010 8:55 am
Forum: General
Topic: CheckSum() Function
Replies: 11
Views: 9314

What, I wonder, do they mean by "standard". The Wikipedia entry for CRC shows six (presumably different) CRC-16 algorithms. ... Yes, checksum can have different value by diferent standard, Datastage 7.5's checksum get CRC-CCITT value, but our application need CRC-16 value. I'm wondering i...
by ms294
Wed Apr 21, 2010 9:37 am
Forum: General
Topic: CheckSum() Function
Replies: 11
Views: 9314

Why should every checksum function generate the same value? There's no single industry-standard algorithm out there. Checksum can do whatever its author likes, as it doesn't need to be reversible, o ... The problem is, our syatem will only accept CRC-16 standard checksum, but Datastge will generate...
by ms294
Tue Apr 20, 2010 3:40 pm
Forum: General
Topic: CheckSum() Function
Replies: 11
Views: 9314

Can you calculate checksum for Payment_Data.PaymentNumber alone in both and compare. The problem is DS Checksum('1,,,,,,,,,,') will get value 11545, but other checksum methods will get 51547, which mean DS Checksum() return different value with other standard checksum calculation. I don't know why ...
by ms294
Tue Apr 20, 2010 11:46 am
Forum: General
Topic: CheckSum() Function
Replies: 11
Views: 9314

CheckSum() Function

Does anybody has experience to use Checksum() function on datastage 7.5 to calculatie checksum for string ? I use this format Checksum( Payment_Data.PaymentNumber:',':Payment_Data.VendorAccountName:',,,,':Payment_Data.VendorBankAccountNumber:',,,,,') to calculate checksum and the value is different ...
by ms294
Thu Apr 08, 2010 2:54 pm
Forum: General
Topic: Stored Procedure call fail on ODBC Satge
Replies: 0
Views: 5547

Stored Procedure call fail on ODBC Satge

Hi, I am using datastage 7.5 Server ODBC satge to call a SQL Server 2005 stored procedure, and get following error : SQLSTATE=37000, DBMS.CODE=1934 [DataStage][SQL Client][ODBC][DataDirect][ODBC SQL Server Driver][SQL Server]INSERT failed because the following SET options have incorrect settings: 'C...
by ms294
Thu Apr 01, 2010 1:50 pm
Forum: General
Topic: convert date from "03-NOV-2008" to "2008-11-0
Replies: 1
Views: 1701

convert date from "03-NOV-2008" to "2008-11-0

Does any one know how to convert date from "03-NOV-2008" to "2008-11-03"(yyyy-mm-dd) on Dastage 7.5 ? Thanks !
by ms294
Thu Apr 01, 2010 10:12 am
Forum: General
Topic: FTP Complex file from one unix server to another
Replies: 10
Views: 5337

Hmmm... while that works in the Sequential File stage, you may just need to leave it blank in the FTP stage. ... Craig, Do you have any experience with such process on Datastage 7.5 : I need check if flat file has empty records, if empty , no ftp sending, otherwise ftp send file to remote server. W...
by ms294
Wed Mar 31, 2010 3:38 pm
Forum: General
Topic: FTP Complex file from one unix server to another
Replies: 10
Views: 5337

Make sure you tell it not to add anything to the file - quotes in particular. ... Right, I tries put 000 for delimiter and quote which mean nothing, but FTP stage abroted with error "not valid delimiter and quote". is there way to get out of this ? I solve this by set "no line termin...
by ms294
Wed Mar 31, 2010 2:53 pm
Forum: General
Topic: FTP Complex file from one unix server to another
Replies: 10
Views: 5337

chulett wrote:Make sure you tell it not to add anything to the file - quotes in particular. ...
Right, I tries put 000 for delimiter and quote which mean nothing, but FTP stage abroted with error "not valid delimiter and quote". is there way to get out of this ?
by ms294
Tue Mar 30, 2010 3:36 pm
Forum: General
Topic: FTP Complex file from one unix server to another
Replies: 10
Views: 5337

This is good hit

DSguru2B wrote:Did you try doing the transfer as a single column within the ftp stage? ...
Good ideal, I'll try this. thanks !
by ms294
Tue Mar 30, 2010 3:04 pm
Forum: General
Topic: Count the rows in sequential/Complex file
Replies: 6
Views: 4294

anbu wrote:Use aggregator and do count on any non-nullable field to get the row count
This did solve my problem. Thanks !