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.
Search found 8 matches
- 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
- 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...
- 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...
- 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
- 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...
- 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
- 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
- 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.
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.