Search found 46 matches

by hondaccord94
Tue Nov 01, 2005 9:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Jobs Import
Replies: 3
Views: 1711

Jobs Import

Hai,

I have a question regarding the DSX file imports, infact two questions.

1). Can I import a 7.1 DSX into 7.5 ?

2). Can I import a 7.5 DSX into 7.1 ?

Thanks
by hondaccord94
Tue Aug 02, 2005 12:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: conversion
Replies: 8
Views: 2311

Thank you ... The problem is 2-fold. 1) wrong function, and 2) wrong format for function call. The function you need is timestamp_from_string, not StringToTimestamp. I believe the latter is used in Transforms, not Modify Stages. The format is as follows: newfield:timestamp[microseconds] = timestamp_...
by hondaccord94
Fri Jul 29, 2005 9:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: conversion
Replies: 8
Views: 2311

conversion

I am trying to use modify stage to convert the string to timestamp and I have specified in the modify stage like this
inputDate [:timestamp] = StringToTimestamp(string(OpenDate)[%YYYY-%mm-%dd-%hh.%nn.%ss.6](OpenDate))
can anyone tell me what's wrong in this expression.

Thanks
by hondaccord94
Wed Jul 27, 2005 2:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling the data
Replies: 2
Views: 1759

Thank you Brad
by hondaccord94
Wed Jul 27, 2005 12:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling the data
Replies: 2
Views: 1759

Handling the data

Hi,
I am having a situation where I am getting the hexadecimal values in my data. Is there any way where I can get rid of them in my target data using a datastage job.

thanks
by hondaccord94
Tue Jul 26, 2005 11:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert datetime to timestamp
Replies: 21
Views: 17125

Thanks a lot Brad !!!!!!!!
by hondaccord94
Mon Jul 25, 2005 1:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer code
Replies: 4
Views: 1945

Hi kirtikumar, you can find the list of functions which can be used in your C code for you buildops in the documentation of the parallel extender like asString(),null(),isValid() etc .. You check this example ,which can give some idea of how to use these functions in your code. 1 -->out.outputcolumn...
by hondaccord94
Mon Jul 25, 2005 12:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert datetime to timestamp
Replies: 21
Views: 17125

hi brad, my input is coming as a datetime datatype which is like this 2001-02-07-00.00.00.000000 and then in datastage job I am reading it as a varchar and according to the transformations I need to convert that varchar column to timestamp. Thanks.. te="bcarlson"] Hi Brad, Can you please c...
by hondaccord94
Fri Jul 22, 2005 12:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert datetime to timestamp
Replies: 21
Views: 17125

Hi Brad,
Can you please confirm me that this function will convert the varchar (input column )datatype to timestamp(output column)
out.outdate.set(in.CloseDate, "%yyyy-%mm-%dd %hh:%nn:%ss.000000");

Thanks
by hondaccord94
Thu Jul 21, 2005 11:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error while running the job
Replies: 2
Views: 2176

Error while running the job

Hi can anyone let me know what does this error means and how can I correct this error.

I encountered this while running a parallel job.

main_program: When preparing operator: When setting up transfer for "amt _type_cd ":Source and destination have differing nullability

Thanks
by hondaccord94
Wed Jul 13, 2005 3:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert datetime to timestamp
Replies: 21
Views: 17125

Thanks a lot Brad, its working fine now. here my input column is CloseDate(in the varchar datatype) and output column(which is in timestamp datatype ) is outdate out.outdate= in.CloseDate ; out. myTmsp .set(in.CloseDate, "%yyyy-%mm-%dd %hh:%nn:%ss.000000"); I think you had some typos (see ...
by hondaccord94
Wed Jul 13, 2005 12:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert datetime to timestamp
Replies: 21
Views: 17125

Hi Brad, I have written like this in my code, but my operator is not generated. can you please tell me what else I need to add. how should I specify the header file declarations. here my input column is CloseDate(in the varchar datatype) and output column(which is in timestamp datatype ) is outdate ...
by hondaccord94
Wed Jul 13, 2005 8:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert datetime to timestamp
Replies: 21
Views: 17125

Hi Brad, Thanks for the information, but can you please tell me how to use to the set function, and also can you please let me know where to find these functions. My requirement is I have the data coming in a string format (datetime datatype )and I need to convert that to timestamp. If you want to d...
by hondaccord94
Mon Jul 11, 2005 8:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert datetime to timestamp
Replies: 21
Views: 17125

Thanks Ray,Madhav,the bird,sudarshan for the information.
by hondaccord94
Fri Jul 08, 2005 1:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert datetime to timestamp
Replies: 21
Views: 17125

Re: convert datetime to timestamp

Hi Sudarshan, Thanks for the help, But , I don't know whether I can use the one you mentioned in the buildop or do I need to write the c++ coding for this conversion. If so, can you please throw some suggestions on how to proceed with this. Hi, since you r converting date to timestamp I will assume ...