Search found 215 matches

by nick.bond
Mon Apr 23, 2007 4:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Filtering out records based on UNICODE values
Replies: 2
Views: 1477

No sure but to identify an individual character outside of the standard Ascii you could try

Code: Select all

If input.field > Char(127) then 'Invalid' Else 'Valid'
Not had to do it before though.
by nick.bond
Mon Apr 23, 2007 4:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating Rownum
Replies: 6
Views: 1995

Ok you need one more stage varible to produce the row numbers

svRowNumber = If svIsNewValue Then 1 Else svRowNumber + 1
by nick.bond
Mon Apr 23, 2007 4:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential processing of Files
Replies: 43
Views: 14624

I don't understand why this shows no partitioning by keys. Have you setup the sort and aggregator correctly with the key/group columns specified? I would expect there to be an entry in the SCORE similar to APT_HashPartitioner { key={ value=key_field, subArgs={ asc } to show that DS will partition by...
by nick.bond
Mon Apr 23, 2007 3:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Agregator failed
Replies: 6
Views: 3688

Have a look at this link which will explain how to check and change the soft and hard limits.

http://www.ss64.com/bash/ulimit.html

As Craig said, you probably need to get SA to do this for you.
by nick.bond
Mon Apr 23, 2007 3:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORA-00900: invalid SQL statement
Replies: 9
Views: 5843

So the job runs and records are updated in the database but then it throws a warning at the end? Have you tried running it with just one record which you know performs an update? Does the warning still occur? It may be data related, otherwise not sure why it would work for some records and then thro...
by nick.bond
Mon Apr 23, 2007 4:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Agregator failed
Replies: 6
Views: 3688

Your hitting the 2GB file size limit imposed on you by the UNIX setup. I think this is set through ulimit(). I can't remember now if this is just setup once or whether it is specified in dsenv and I don't have a system to look at now. Will have to check in the morning unless someone else answers thi...
by nick.bond
Mon Apr 23, 2007 2:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential processing of Files
Replies: 43
Views: 14624

Open the entry and paste the text that is inside!
by nick.bond
Sun Apr 22, 2007 11:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to achieve this output?
Replies: 1
Views: 567

Transformer with input link and 3 output links for your 3 files. Stage Variables as follows svCounter = If svCounter = 10 Then 1 Else svCounter + 1 (set the default value to 1) svActiveLink = If svCounter = 1 and svActiveLink = 3 Then 1 Else If svCounter = 1 Then svActiveLink + 1 Else svActiveLink A...
by nick.bond
Sun Apr 22, 2007 11:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fixed Width Files and NLS
Replies: 6
Views: 3299

Just to resolve this, the workaround if you are having the same issue is to use a sequential file stage instead of the row_merge/row_split stages, just with different metadata on the write and read side.
by nick.bond
Sun Apr 22, 2007 10:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: difference betwn look up stage and join satge in PX
Replies: 9
Views: 7687

The answers not quite as simple as that
Was commenting on initial post not your response Ray!
by nick.bond
Sun Apr 22, 2007 10:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: difference betwn look up stage and join satge in PX
Replies: 9
Views: 7687

The answers not quite as simple as that, it depends on the volumes of data you have in your two datasets, what the distinct set of key values are, and what type of actions you want when matches aren't found. Depending on the answers to these questions you can use the JOIN, LOOKUP or MERGE stage to j...
by nick.bond
Sun Apr 22, 2007 10:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating Rownum
Replies: 6
Views: 1995

George is right, first sort the data by key fields. I wouldn't use the row compare routine though as it will be quicker to use stage variables to compare the current value with the previous value. svPreviousValue = svCurrentValue svCurrentValue = input_rec.value have the stage variables in that orde...
by nick.bond
Sun Apr 22, 2007 10:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential processing of Files
Replies: 43
Views: 14624

Add the environment variable APT_DUMP_SCORE to your job, APT_DUMP_SCORE (Hint: This is in Parallel/Reporting" section) and set the value to True.

Run the job. One of the entries in the job log will start "main_program: this step has ? datasets"

Copy the content of this entry.
by nick.bond
Sun Apr 22, 2007 9:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Set up ODBC connection in DS Server on Linux
Replies: 2
Views: 2206

This is documented in the dsupgde.pdf. You need to add an entry to the .odbc.ini file in the DSHOME directory. You will find an example entry for MS Sql Server, just copy that and add your relevant values. You may also want to add entry to the uvodbc.config file so that the connection appears in the...
by nick.bond
Sun Apr 22, 2007 8:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Abort sequence if particular job status=2
Replies: 4
Views: 2338

I also found this very annoying that you couldn't define your own criteria for when a job should be re-run. i.e. if it finished with any status other than OK. I don't have the code with me now and don't have EE here so can't give exact code, but I wrote a routine that would clear the 'Checkpoint' fr...