Search found 4 matches

by javier perez
Thu Sep 22, 2005 7:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load date into SQL Server - datetime datatype)
Replies: 10
Views: 18474

Re: Load date into SQL Server - datetime datatype)

I believe the following will work if you don't need a full timestamp (based on using an ODBC stage). In the transfom stage that loads the database use the following expression ... Oconv(DateGenericToInternal(InputLink.DateField), "D-YMD[4,2,2]") : " 00:00" ... and change the Data...
by javier perez
Tue Sep 06, 2005 6:52 pm
Forum: Enhancement Wish List
Topic: Enforce data type constraints when writing to text files
Replies: 0
Views: 2108

Enforce data type constraints when writing to text files

I would like to see DataStage enforce data type constraints when writing to a text file, something similar as currently occurs when writing to a database table. While I'm aware that in this case it's the database engine enforcing the constraint, it would prove useful in some cases if there was a swi...
by javier perez
Sun Jul 31, 2005 5:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Removing CRLF from fixed width text files
Replies: 4
Views: 4251

Thanks for the response ... you're right I didn't expect the behaviour I got either. I did initially replace 'CRLF' with a 'pipe', but it affected the column width. I've now found a solution ... it seems so simple I must admit to being a little embarrassed. Solution? Define 2 columns in the initial ...
by javier perez
Wed Jul 27, 2005 11:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Removing CRLF from fixed width text files
Replies: 4
Views: 4251

Removing CRLF from fixed width text files

I'm working with fixed width files containing call centre data, where the source app permits the use of the <enter> key to start a new line, within a single field. The fixed width text file consequently, contains extraneous CRLF (DOS files) within the definition of a single field width. I can read t...