Search found 5 matches

by pauldblake
Fri Sep 09, 2005 3:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Simple division in Transformer stage results in zero
Replies: 6
Views: 6164

Thanks guys.

The AsFloat solution works fine.
by pauldblake
Thu Sep 08, 2005 10:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Simple division in Transformer stage results in zero
Replies: 6
Views: 6164

Thanks Naveen.

I have tried using the 46528/86400 and the Div syntax and both return the same zero result.
by pauldblake
Thu Sep 08, 2005 8:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert output SAS
Replies: 1
Views: 2139

I acheived this as follows: create a PX job comprising a SAS stage with the following code (where values enclosed in # are job parameters representing the SAS library and dataset): libname saslib "#saslibname#"; data liborch.in_data; set saslib.#dataset_in# (obs=0); run; and direct the out...
by pauldblake
Thu Sep 08, 2005 7:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Simple division in Transformer stage results in zero
Replies: 6
Views: 6164

Simple division in Transformer stage results in zero

The following division in a Transformer stage results in zero.

Div(46528,86400)

Expected result = 0.538518519

I have tried data types (Length = 40, Scale = 30) of Decimal, Double, Float and Numeric without success.

Any help would be appreciated.
by pauldblake
Wed Jun 08, 2005 3:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Iconv / Oconv function - MCP code
Replies: 2
Views: 3377

Iconv / Oconv function - MCP code

When using the 'MCP' function with Iconv / Oconv what is the ASCII range within which characters are deemed printable? And hence outside of which characters would be converted to full stop (period)?

Thanks in anticipation.