Search found 26 matches

by Anoop3d
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

spaces when writing into fixed width file

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
by Anoop3d
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

Thanks every one for your replies. The problem was DS was rounding the digits and which in turn was not giving the expected output. Once rounding is taken care of , it is displaying the correct results :D
by Anoop3d
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
by Anoop3d
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...
by Anoop3d
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

First I defined it as Date and now I have it as showing TIMESTAMP(6) in Oracle when I defined it as timestamp
by Anoop3d
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...
by Anoop3d
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

One more thing, this is a test file which I am loading into database and then finally reading these records from database table. I can modify the file as required but what to change.
by Anoop3d
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

It is a same input file which has change in a different column.This particular column data is unaffected
by Anoop3d
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

It was working good in morning and now it is again giving column length and not the character length even when I am using APT_STRING_PADCHAR as '0X20' :? Nothing was changed in the job
by Anoop3d
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

Thanks a lot SURA. It resolved the issue
by Anoop3d
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

No, It gives the full length of column :(
by Anoop3d
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
by Anoop3d
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...
by Anoop3d
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...
by Anoop3d
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...