Search found 23 matches

by nelc
Wed Jun 18, 2003 8:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transform multiple columns into multiple records
Replies: 2
Views: 1333

Transform multiple columns into multiple records

Scenario is as follows: Old Access DB schema COL_NAME DATA_TYPE 'HAIR' Yes/No 'FACE' Yes/No 'LIP' Yes/No 'ORAL' Yes/No 'ID' (PK) Text New database design schema: COL_NAME DATA_TYPE 'ID' VarChar (PK) 'PRODUCT_TYPE' VarChar (PK) Question: How can I check the 'Yes' columns from the old schema and inser...
by nelc
Wed Jun 18, 2003 8:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date comparison
Replies: 6
Views: 1643

Hi Ray, My apologies. Will post the second qn on a new thread. Can you kindly advise regarding date comparison query first? With regards to the routine you advised me to write, I am converting from a Access DB and the type is Date/Time, think that's why Iconv was not successful. In this case, how ca...
by nelc
Wed Jun 18, 2003 2:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date comparison
Replies: 6
Views: 1643

Hi both, Thanks for the info. It is definitely because of the data like what Vincent mentioned. I am converting from a Access DB and the type is Date/Time, think that's why Iconv was not successful. In this case, how can I convert it into a string format?? I checked out the built-in routines such as...
by nelc
Tue Jun 17, 2003 9:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date comparison
Replies: 6
Views: 1643

Date comparison

Trying to do a date comparison here. Applied the following code but works the other way round: if (Iconv(Input.InputDate, "D/MDY[2,2,4]") > Iconv("07/01/2001", "D/MDY[2,2,4]")) then "A" else "B" The records with input date later than 1st July 2001 st...
by nelc
Wed Apr 30, 2003 3:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inserting sysdate into Timestamp field
Replies: 7
Views: 2702

Hi all!

Thank you so much for the help!

[:)]
by nelc
Mon Apr 28, 2003 1:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inserting sysdate into Timestamp field
Replies: 7
Views: 2702

Inserting sysdate into Timestamp field

Newbie here. Trying to set sysdate value in the one of the columns in transformer stage for loading into Oracle9i DB. The destination column is in Timestamp type. Which function/system variable should I use? I have tried the following: @DATE, Date(), TimeDate(). All of which returns a string literal...
by nelc
Wed Apr 16, 2003 7:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using DataStage for conversion of chinese char
Replies: 3
Views: 1782

When I do a direct extraction from Access to a sequential file, the chinese characters appears as "??" in the text file as well. Any further advise? As for question 1, what should be the correct code page setting? Because my DBA is not around today and I am only familiar with basics of Dat...
by nelc
Wed Apr 16, 2003 7:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using DataStage for conversion of chinese char
Replies: 3
Views: 1782

Using DataStage for conversion of chinese char

I am trying to transform and convert a set of data from MS Access to Oracle9i. The data contains chinese characters. Seen from one of the posting here that I should use set NLS map to BIG5 or GB2312, tried both but did not work for me. I was not able to view the source data. All the chinese characte...