When I am writing into a fixed width file having a column as decimal.
It introduces a space into a file.
For ex. Column xyz decimal (10,2) -Null field value for this column has 10 spaces.
But when this column is seen in the file it will have 11 characters including a space at the start of this column
Search found 26 matches
- Wed Jan 29, 2014 4:22 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: spaces when writing into fixed width file
- Replies: 5
- Views: 2140
- Thu Aug 29, 2013 1:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: To check the value of a decimal column is negative/positive
- Replies: 8
- Views: 3100
- Wed Aug 28, 2013 7:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: To check the value of a decimal column is negative/positive
- Replies: 8
- Views: 3100
To check the value of a decimal column is negative/positive
I have exactly same requirement as this old post. But If then .... less does not work when I write A<0 and the value of A is 0.068 and it satisfies condition in this case. But I believe 0.068 should be considered more than 0
- Wed Nov 28, 2012 6:59 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Maintaining Timestamp with microseconds using datastage
- Replies: 5
- Views: 8001
I got a workaround for this. If I maintain this field as varchar in datastage everywhere and use to_timestamp(InputColumn,'YYYY-MM-DD HH:MI:SS.FF) in Oracle user defined query and keep this column as varchar in Oracle stage also - It Works While reading from Oracle , again I make this field as varch...
- Wed Nov 28, 2012 3:56 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Maintaining Timestamp with microseconds using datastage
- Replies: 5
- Views: 8001
- Wed Nov 28, 2012 1:19 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Maintaining Timestamp with microseconds using datastage
- Replies: 5
- Views: 8001
Maintaining Timestamp with microseconds using datastage
I am getting a varchar column having timestamp field with microseconds in format 'YYYYMMDDHHNNSSSSSSSS' I convert this using transformer into 'YYYY-MM-DD HH:NN:SS.SSSSSS' and this gets successfully loaded into target ORACLE10g database. Now in Oracle When I keep this field as date , It shows me last...
- Wed Nov 14, 2012 6:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Finding length of characters in CHAR field
- Replies: 9
- Views: 3178
- Wed Nov 14, 2012 6:27 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Finding length of characters in CHAR field
- Replies: 9
- Views: 3178
- Wed Nov 14, 2012 6:10 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Finding length of characters in CHAR field
- Replies: 9
- Views: 3178
- Wed Nov 14, 2012 12:08 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Finding length of characters in CHAR field
- Replies: 9
- Views: 3178
- Tue Nov 13, 2012 5:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Finding length of characters in CHAR field
- Replies: 9
- Views: 3178
- Tue Nov 13, 2012 4:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Finding length of characters in CHAR field
- Replies: 9
- Views: 3178
Finding length of characters in CHAR field
I need to calculate the length of characters in a CHAR column ( Source is Oracle ) so that I can filter out the data depending on the length ( length means the actual length of characters and not including white spaces which comes with CHAR field
- Thu Dec 02, 2010 4:52 pm
- Forum: General
- Topic: Master Sequence taking long time to call sequences under it
- Replies: 3
- Views: 1984
chulett Datastage version 8.0 Master sequence log has only 3 lines ( I cleared the previous logs). I asked the same question to our ETL architecture team, and they told that this is happening because of 6 parameter sets being used which in turn use more than 1400 parameters. Because of this Datastag...
- Thu Dec 02, 2010 9:49 am
- Forum: General
- Topic: Master Sequence taking long time to call sequences under it
- Replies: 3
- Views: 1984
Master Sequence taking long time to call sequences under it
I have a master sequence calling 9 different sub sequences. These subsequences are scheduled to run sequentially inside master sequence. But when I run this master sequence, it takes more than an hour just to call the first sub- sequence and display following message in log file : Starting new run o...
- Wed Apr 22, 2009 4:53 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Error in Oracle Enterprise stage
- Replies: 1
- Views: 1650
Error in Oracle Enterprise stage
I am getting following Error message in Datastage " Oracle_Enterprise_3: Error when checking composite operator: Caught parsing exception during wrapDescribeOperator(): Could not find type: oratype:0" It is a simple loading Job into database table running in Load Append Mode But when I run...