i need this field to make joins, so should trim it.chulett wrote:You can't trim spaces from a char. Why not simply check for = 'IN ' instead? ...
Search found 726 matches
- Tue Jan 13, 2009 12:26 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Trim on char fields
- Replies: 13
- Views: 3930
- Tue Jan 13, 2009 12:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: What happens when varchar is mapped to char, look at the ex.
- Replies: 4
- Views: 1788
What happens when varchar is mapped to char, look at the ex.
For example:
A field 'ID' is Varchar(10) and having a value "abc", if this field is directly mapped to "IP_ID" char(10) in a transformer, would it append 7 spaces to "IP_ID".
A field 'ID' is Varchar(10) and having a value "abc", if this field is directly mapped to "IP_ID" char(10) in a transformer, would it append 7 spaces to "IP_ID".
- Tue Jan 13, 2009 12:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Trim on char fields
- Replies: 13
- Views: 3930
Trim on char fields
Hi, I am trying to read a sequential file having 10 columns all defined as varchar. A transformer stage follows the sequential file where i am converting some varchar to char. There is a field 'GMAB' of length 3 having value 'IN ' for all the records. In the transformer stage i am using TrimLeadingT...
- Sat Jan 10, 2009 6:44 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sorting data - partition design question
- Replies: 4
- Views: 2328
Re: Sorting data - partition design question
hi, basically the sort stage sorts the data within the partitions. at the o/p of the sort stage the data is sorted within the partitions and when writing to dataset the data from all partitions gets collected, thereby if u look at the entire set of data the sorting looks as if it is lost. To avoid t...
- Mon Dec 01, 2008 4:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Datastage PX DB2 stage varchar length
- Replies: 1
- Views: 1608
Datastage PX DB2 stage varchar length
Hi Guys, I am using a DB2 stage to write to a table and the Default String Length property is set to 32 bytes. what would be the length of varchar field being written into the table, would it be 32 for all entries or would it be the length of the data being written? For example if i am writing 'sam'...
- Sun Nov 23, 2008 1:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: datastage PX guides
- Replies: 3
- Views: 4300
datastage PX guides
Hi,
I need to know from where i can download the following guides for PX 7.5.1.
Parallel job developer guide
advanced Parallel job developer guide
director guide
server job developer guide
manager guide
administrator guide
I need to know from where i can download the following guides for PX 7.5.1.
Parallel job developer guide
advanced Parallel job developer guide
director guide
server job developer guide
manager guide
administrator guide