Search found 15603 matches

by ArndW
Wed Oct 27, 2010 7:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Special character ascii value 191
Replies: 0
Views: 1605

Convert(Char(191),'',LinkName.FieldName)
by ArndW
Wed Oct 27, 2010 7:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Connecting to the server through DS Client
Replies: 3
Views: 1014

Could you define "connect" a bit more? a) by "connect outside of my client" you mean that from your PC you can use some tool to connect to your database (e.q. DB2connect or slqplus). b) what do you mean by "in DS" with regards to connecting? c) what do you mean by "...
by ArndW
Wed Oct 27, 2010 6:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF Stage TIMESTAMP datatype
Replies: 8
Views: 2997

Ok, let us take a step back. Is your problem reading the timestamp value in your datastage job or writing it to the CFF?
by ArndW
Wed Oct 27, 2010 6:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading error in DB2
Replies: 7
Views: 2597

Is the column nullable in datastage? What is the data type of the target DB2 column?
by ArndW
Wed Oct 27, 2010 6:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Preserving Sort Order After Join Stage
Replies: 3
Views: 1857

The join stage will output data sorted on the join keys. If the sort order is different before the join, DataStage will perform implicit sorts on the input streams.
by ArndW
Wed Oct 27, 2010 6:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issues compiling Parallel External Routine
Replies: 16
Views: 6055

It looks good and correct from what I see - except that you define "RtMCExtract" but call "ParesenExtract" in your job, could you change that?
by ArndW
Wed Oct 27, 2010 6:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC stage float field
Replies: 6
Views: 1923

Floating point numbers are represented internally as a mantissa and exponent of e; thus not all possible floating point numbers can be represented exactly (this is one reason why financial institutions don't use the type but used fixed decimal representation instead). In this case I would guess that...
by ArndW
Wed Oct 27, 2010 6:26 am
Forum: General
Topic: Outsourcing
Replies: 1
Views: 783

Paul has been in the news a lot today, as many consider it his fault that Germany is not world champion :) They are thinking of cremating him and keeping his remains - perhaps this is going to be the birth of a new tradition, something like "The ASHES" in cricket! http://www.11freunde.de/i...
by ArndW
Wed Oct 27, 2010 6:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF Stage TIMESTAMP datatype
Replies: 8
Views: 2997

What is the actual format of the TIMESTAMP field in the file? If it is not an ASCII representation but a binary value, then you would need to know the exact format before it can be converted to another representation. Often the format, if binary, is a floating point number with some form of Julian d...
by ArndW
Wed Oct 27, 2010 6:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Footer record for each group by value
Replies: 7
Views: 3896

Declare your output format as a single VarChar column. In your job, detect the value group changes using either stage variables in a transform or within a sort stage. When your job detects a group change it outputs an additional record with the footer values as indicated in your example.
by ArndW
Wed Oct 27, 2010 6:15 am
Forum: General
Topic: Job dependency report
Replies: 6
Views: 3525

Field 31 is a multivalue one which is expanded correctly when I perform this query manually in my environment and all elements are returned. In your case somehow the first and last elements are skipped. Is it the same behaviour if you choose another job sequence?
by ArndW
Tue Oct 26, 2010 9:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Row Delim
Replies: 11
Views: 2617

There is a reason for premium memberships to DSXChange and in this case there would seem to be two possible choices, either I could post the answer again as a non-premium message or you could change to premium membership. I am sure you can understand why choice 2 is the better route. Of course anoth...
by ArndW
Tue Oct 26, 2010 9:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unix Top executed from DS returns no lines
Replies: 7
Views: 1427

Print out the contents of the variable "Output" to see what happens, i.e. do a

Code: Select all

CALL DSLogInfo('The command returned "':Output:'"','')
by ArndW
Tue Oct 26, 2010 9:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: remove new line carriage return from columns
Replies: 1
Views: 8127

You can use the convert() function to convert the characters you don't want into empty strings, i.e.

Code: Select all

Convert(Char(9):Char(10):Char(13),'',In.StringColumn)
(ASCII 9, 10 and 13 are TAB, LF and CR respectively)
by ArndW
Tue Oct 26, 2010 9:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issues compiling Parallel External Routine
Replies: 16
Views: 6055

If you remove the "ParsenExtract" your job will compile, so you need to fix your definition of the external routine. Have you declared it correctly and compiled it?