Search found 8 matches

by Mandy23
Tue Dec 20, 2011 4:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while Reading Float DataType from DataBase
Replies: 9
Views: 9471

Hi Sam,

My case is I have to read data form table and update the same table again. I do not want to lose data by conversion errors.
by Mandy23
Tue Dec 20, 2011 3:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looping Logic - How to read multiple files from a Directory
Replies: 9
Views: 6085

Hi Freddie, First of all ,if there is a posibility to store the Last Run Date of the Job / File Name then below approach will work. 1.You have to prepare a simple shell Script which can List the Files , filter the File names which are greater that Last Run Date of the Job/ File. Write these list int...
by Mandy23
Tue Dec 20, 2011 3:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while Reading Float DataType from DataBase
Replies: 9
Views: 9471

Problem while Reading Float DataType from DataBase

Hi , I am trying to read a column BMIPercentile defined as FLOAT in SQL Server Database using ODBC Connector Stage. I have specified column definition as Type=Float , Length=53 , Scale=10. My Job is aborting with below Fatal error . Schema reconciliation detected a size mismatch for column BMIPercen...
by Mandy23
Fri Dec 16, 2011 11:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dataset Delete script
Replies: 2
Views: 2470

Thanks Zulfi.
by Mandy23
Fri Dec 16, 2011 11:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dataset Delete script
Replies: 2
Views: 2470

Dataset Delete script

Hi, I have been looking for a way to cleanup Datasets created by DataStage.I have found ORCHADMIN but scenario is different. My Jobs overwrite DataSet (*.ds) files for each run. But the files in Dataset path in the config file some times do not get deleted. If we use ORCHADMIN to delete it deletes t...
by Mandy23
Thu Dec 08, 2011 12:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: data loading from varchar to char field
Replies: 8
Views: 4860

srinivas.g wrote:Ignore previous post. Use below command
use this option in Transformer stage :Column name[1,len(columnname)]
Thanks Srinivas.
This helped to solve my problem.

Thanks,
Mandy
by Mandy23
Wed Nov 09, 2011 8:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Incorrect date timestamp
Replies: 7
Views: 4102

Hi Pavan,

Let me know the version that you are using?
I am not seeing any warnings in IS 8.5.

year_cutoff is always there.
by Mandy23
Wed Nov 09, 2011 5:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Incorrect date timestamp
Replies: 7
Views: 4102

Incorrect date timestamp

Hi Pavan,

Use StringToTimestamp((col1.DATE:' ':col1.TIME),'%mm-%dd-%1950yy %hh:%nn')

Here 1950 is year_cutoff. It means any year between 50 - 99 will be prefixed with 19 and any year between 00-49 will be prefixed with 20

Hope this might solve your problem.