Search found 21 matches

by Shadab_Farooque
Wed Jul 25, 2007 2:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert 20070625 to Date Format(mm/dd/yyyy) in PX
Replies: 6
Views: 2346

I got the solution so I am marking this as resolved. Thanks everyone for their suggestions. I used the following in the transformer to convert date(20070718) to date type 07/18/2007. StringToDate(DSLink3.Field005[5,2]:'/':DSLink3.Field005[7,2]:'/':DSLink3.Field005[1,4],"%mm/%dd/%yyyy"). Th...
by Shadab_Farooque
Tue Jul 24, 2007 7:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert 20070625 to Date Format(mm/dd/yyyy) in PX
Replies: 6
Views: 2346

How to convert 20070625 to Date Format(mm/dd/yyyy) in PX

I am having source data format as yyyymmdd which is of integer type(Eg:20070728).I have to convert it in to Date format and load in Oracle table.The column is "date" type in Oracle.

This is a Parallel Job.

Please advise
by Shadab_Farooque
Mon Jul 23, 2007 6:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load multiple .csv files into a single .csv file
Replies: 3
Views: 2357

Re: Load multiple .csv files into a single .csv file

Are the Columns in the 17 csv files different or all have same columns.
by Shadab_Farooque
Mon Jul 16, 2007 10:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Attempt to convert String value "2005-12-14 " to D
Replies: 6
Views: 1536

Hi Chelett, You are right,the input date is in YYYYMMDD formay and the routine is successfully converting it to MM-DD-YYYY.I also wrote the routine to convert the input date to DD-MON-YY format,but still encountering the above error. Can you tell me wheteher TO_DATE() conversion has to be specified....
by Shadab_Farooque
Mon Jul 16, 2007 6:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Attempt to convert String value "2005-12-14 " to D
Replies: 6
Views: 1536

Attempt to convert String value "2005-12-14 " to D

Hi, I am using a routine for Date field. However, I am getting the error as "Attempt to convert String value "2005-12-14 " to Date type unsuccessful" The input date is in format "20070716" (in YYYYMMDD) Format. I have to load this in Oracle table.The column in Oracle Ta...
by Shadab_Farooque
Tue Jul 03, 2007 1:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential file data(.csv) file with different record format
Replies: 6
Views: 1705

Sequential file data(.csv) file with different record format

I have to load a .csv file with different record format in to Oracle Table. Each data block should contain one header record and zero to many detail records. Eg: A,1,3,date,time B,1,date,time,seq No,transaction made B,2,date,time,seq No,transaction made B,3,date,time,seq No,transaction made Here 1st...