check what is the size of integer datatypes on your database and also check if the colum defined is signed or unsigned. even datastage integer cant hold the above value if the column is defined as signed (not unsigned)lpadrta wrote:I am trying to make the SQL db target integer 10 value 3600000008
Search found 726 matches
- Tue Jun 12, 2012 11:34 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Convert Char 10 to Integer 10 gives unexpected results
- Replies: 11
- Views: 6737
Re: Convert Char 10 to Integer 10 gives unexpected results
- Mon Jun 11, 2012 8:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Escape Single Quote with Single Quote
- Replies: 23
- Views: 9889
- Mon Jun 11, 2012 6:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Escape Single Quote with Single Quote
- Replies: 23
- Views: 9889
This one should work
Code: Select all
pxEreplace(AB:"'":CD:"'":E,"'","''",0,0)
- Mon Jun 11, 2012 4:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Escape Single Quote with Single Quote
- Replies: 23
- Views: 9889
- Mon Jun 11, 2012 3:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Escape Single Quote with Single Quote
- Replies: 23
- Views: 9889
- Mon Jun 11, 2012 3:30 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup Fails on Timestamp with MicorSeconds.
- Replies: 6
- Views: 2641
Re: Lookup Fails on Timestamp with MicorSeconds.
Look up will generate the warning if there are duplicate values over the key columns, in your case there are no duplicates if the microseconds are considered. It is not advisable to look for means of how to suppress warnings rather approach with a resolution to fix the warnings. you have two choices...
- Mon Jun 11, 2012 3:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: VARCHAR TO BIGINT
- Replies: 7
- Views: 5756
- Mon Jun 11, 2012 2:06 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: String to Date conversion issue
- Replies: 9
- Views: 4481
you need to use as shown
Code: Select all
Iconv(input.Date,"D-YMD")
- Mon Jun 11, 2012 12:06 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup Fails on Timestamp with MicorSeconds.
- Replies: 6
- Views: 2641
Re: Lookup Fails on Timestamp with MicorSeconds.
As noted this is not error but just a warning and looking at the warning it is clear that on the reference link the column is defined as Timestamp witthout the microseconds extensionsynsog wrote:Getting Error:-
Ignoring duplicate entry at table record 3; no further warnings will be issued for this table
- Sun Jun 10, 2012 11:43 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: VARCHAR TO BIGINT
- Replies: 7
- Views: 5756
Re: VARCHAR TO BIGINT
use the derivationsrivalli_b wrote:TDSTAGE -----> XFM---> TDSTAGE
MY SOUCE COLUMN DATATYPE IS VARCHAR
TARGET COLUMN DATATYPE IS BIGINT
Code: Select all
If IsValid("int64",Trim(input.column)) Then Trim(input.column) Else SetNull()
- Fri Jun 08, 2012 11:10 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Data Set record count (not orchadmin)
- Replies: 5
- Views: 3158
- Fri Jun 08, 2012 8:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Data Set record count (not orchadmin)
- Replies: 5
- Views: 3158
Re: Data Set record count (not orchadmin)
to be more specific:PhilHibbs wrote:Just as I hit "Submit", a solution occurred to me - have a look in the PXEngine/bin directory and see if anything rings a bell! The answer is: dsrecords.
Code: Select all
dsrecords -n
- Fri Jun 08, 2012 12:06 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Escape Single Quote with Single Quote
- Replies: 23
- Views: 9889
- Thu Jun 07, 2012 11:58 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: RCP Clarification
- Replies: 3
- Views: 1309
Re: RCP Clarification
2)Should i need to use schemafile for target sequential file If your sequential file is the origination stage of data in your job then you need to specify schema file to enable RCP, in your case its not. More over, RCP will not be of much help based on your inputs where you have only a Oracle stage...
- Thu Jun 07, 2012 8:40 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: storage of NULLS
- Replies: 10
- Views: 2167