Search found 97 matches

by srai
Mon Nov 21, 2011 1:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date datatype conversion
Replies: 4
Views: 2758

Re: Date datatype conversion

Hi,

Thanks for reply.

This means if my source data is like 21-03-11 then it should be
StringtoDate(Columnname,"%dd-%mm-%yy") and output will be as
21-03-2011.

Thanks,
Santosh
by srai
Sun Nov 20, 2011 11:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date datatype conversion
Replies: 4
Views: 2758

Date datatype conversion

Hi, I reading from Oracle database and loading into sequecial file. From Oracle source Date is coming as 21-03-11 15-04-00 16-11-81 and we need output as 21-03-2011 15-04-2000 16-11-1981 I am trying to function StringtoDate(Columnname,"%dd-%mm-%yyyy"). But its not getting converted in requ...
by srai
Wed Mar 23, 2011 9:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fetch seven days old data
Replies: 5
Views: 3161

Thanks Chulett.

Yes effdt is an actual date but its also coming in format 20110131.
I tried the solution mentioned by you but still not able to fetch data.

Please help me if I am doing something worng. It is just a select query.

Thanks,
Santosh
by srai
Wed Mar 23, 2011 9:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fetch seven days old data
Replies: 5
Views: 3161

Fetch seven days old data

Hi Team, We have a requirement to develop a datastage job which fetch 7 days old data in every run. Our source in DB2. I have tried below user defined query in DB2 Select * from Temptable where effdate >'#BIzDate#-7' and effdate <='#BIzDate#' But it did not work. BIzDate is a parameter which we are ...
by srai
Thu Jan 20, 2011 1:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SetNull() Function in stage variable
Replies: 3
Views: 4943

SetNull() Function in stage variable

Hi, We are using the derivation in stage varibale as If (IsNull(LNK_SRC.PARTY_NO=1)) Then SetNull() Else LNK_SRC.PARTY_NO. We are getting compilation error as "##E IIS-DSEE-TFEV-00026 12:11:59(010) <transform> Error when checking composite operator: Setting null to this non-nullable field: Stag...
by srai
Thu Jan 20, 2011 12:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivoting of Data
Replies: 4
Views: 2909

ray.wurlod wrote:Split the data (Copy stage), use two Column Import stages, then Join the streams back together. Or use a Transformer stage. ...

Thanks a lot Ray!!
It worked for me.
by srai
Wed Jan 19, 2011 4:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivoting of Data
Replies: 4
Views: 2909

Hi Ray,

I have tried the Column Import option but Its provided the option to seprate only one column. I am not able to seprate more than one column in single job.
by srai
Wed Jan 19, 2011 1:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivoting of Data
Replies: 4
Views: 2909

Pivoting of Data

Hi Team, We have a typical requirement. Source data is comming in format- PA_No AC_NAME AC_NO 123 d1#d2#d3 30#45#75 145 c1#c2#c3 10#20#25 We need to populate in target as PA_No AC_NAME AC_NO 123 d1 30 123 d2 45 123 d3 75 145 c1 10 145 c2 20 145 c3 30 We need to implement this logic in datastgae. Any...
by srai
Fri Jan 07, 2011 8:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String To Timestamp conversion
Replies: 6
Views: 9971

braj wrote:Use:
StringToTimestamp(<input Column Name>,"%dd-%mmm-%yy")

This will take input as '17-APR-10' and output as 1910-04-17 00:00:00

Thanks
Brajesh.
But We need output as "2010-04-17 00:00:00' not "1910-04-17 00:00:00"
by srai
Fri Jan 07, 2011 6:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String To Timestamp conversion
Replies: 6
Views: 9971

String To Timestamp conversion

Hi Team, We have a job to laod data from Taradata table to table. We are facing problem with the timestamp column. Our source table is having all the columns as varchar even the date/timestamp column. Data in source is like '17-APR-10' and we have to load in format "2010-04-17 00:00:00". W...
by srai
Tue Jan 04, 2011 11:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning while using Teradata Connector -RCP enabled
Replies: 9
Views: 9207

Thanks a lot for information.
I will check with IBM Support Team.
by srai
Tue Jan 04, 2011 4:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning while using Teradata Connector -RCP enabled
Replies: 9
Views: 9207

We have already installed the 8.1.FixPack.1.

Could you please let us know which pack we need to install to resolve the issue?
by srai
Tue Jan 04, 2011 12:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning while using Teradata Connector -RCP enabled
Replies: 9
Views: 9207

prashanth.spl wrote:Hi Santosh,

May i know which version of datastage and Teradata are you using now?

We are using DataStage 8.1 (UNIX), Teradata Connector 12 Version.
by srai
Mon Jan 03, 2011 12:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning while using Teradata Connector -RCP enabled
Replies: 9
Views: 9207

Any transformation must have the column(s) to which it applies present on the Transformer stage input link - it must be there explicitly, it cannot be provided via RCP. So, unless this transformation ... . Hi Ray, You are correct. I have mentioned that coulmn (Job_EXECUTION_ID) explicity in the tra...
by srai
Fri Dec 31, 2010 12:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning while using Teradata Connector -RCP enabled
Replies: 9
Views: 9207

Do you have a particular need to have RCP enabled? ... Actully our parallel job is a generic job, where at run time we just passing source and target table name from parameter. We are not loading the source and target metedata in the JOB. If I do not enable RCP, we need to load metedata for each co...