Search found 15603 matches

by ArndW
Tue Feb 16, 2010 12:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do you handle break processing in DataStage
Replies: 6
Views: 2074

Craig caught that:

Code: Select all

GroupCounter     IF In.Key1:In.Key2:In.Key3=LastKey THEN GroupCounter += 1 ELSE 1
LastKey          In.Key1:In.Key2:In.Key3
by ArndW
Tue Feb 16, 2010 12:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compilation Error
Replies: 3
Views: 1520

Since TrimLeadingTrailing() cannot be used on a NULL value, the code should read:

Code: Select all

IF IsNull(Copy_Input.SIGNINGS_QTD) Then 0 ELSE  TrimLeadingTrailing(Copy_Input.SIGNINGS_QTD)
I assume that this derivation does not show up in red in transform stage designer?
by ArndW
Tue Feb 16, 2010 11:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Routine in DS
Replies: 4
Views: 1889

The UniVerse manuals are different from DataStage BASIC, the correct manual to use is installed as a PDF along with the client software. But in this case it looks like it is a Parallel Extender question and the routines/functions written for PX are c++ calls and are bound to an executable in a very ...
by ArndW
Tue Feb 16, 2010 11:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do you handle break processing in DataStage
Replies: 6
Views: 2074

This can be done in a transform using 4 stage variables:

GroupCounter = IF Key1=LastKey1 AND Key2 = LastKey2 AND Key3 = LastKey3 THEN GroupCounter+1 ELSE 1
LastKey1 = Key1
LastKey2 = Key2
LastKey3 = Key3
by ArndW
Tue Feb 16, 2010 9:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Prefix in the Complex Flat File
Replies: 1
Views: 1027

I am not sure of what sort of a prefix the CFF would add. Try outputing ASCII or with a EBCDIC file on UNIX using "dd conv=ascii if={filename}|more and telling us exactly what the prefix consists of.
by ArndW
Tue Feb 16, 2010 7:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQLSTATE 01517
Replies: 6
Views: 4565

Ask your DB2 administrator what character set the database is defined in. Make sure that setting is identical to what you specify in DataStage for the DB2 stage; that is probably the cause of your error.
by ArndW
Tue Feb 16, 2010 6:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQLSTATE 01517
Replies: 6
Views: 4565

What character set is the DB2 database stored in, and what NLS settings are you using in your job?
by ArndW
Tue Feb 16, 2010 6:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS 8.1 Upgrade
Replies: 7
Views: 2439

I haven't tried an upgrade from 8.01. to 8.1, just fresh installations, so I don't know what else to suggest apart from contacting your support provider.
by ArndW
Tue Feb 16, 2010 6:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to insert a record into the table
Replies: 3
Views: 4746

Do you have custom SQL DML in the Oracle stage? It is highly likely that the problem lies in the data or table definitions (keys, constraints, triggers, etc.) and not in DataStage directly.

Addendum - this time Craig was faster on the trigger ;)
by ArndW
Tue Feb 16, 2010 5:29 am
Forum: General
Topic: Datastagejob call a Unix-Programm
Replies: 5
Views: 1476

If the job runs with more than one node, each of them would process the same constraint in parallel, i.e. with a 4-node configuration you would get 4xp_RowCountLimit rows.
by ArndW
Tue Feb 16, 2010 5:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS 8.1 Upgrade
Replies: 7
Views: 2439

The NLS_LANG environment setting is for Oracle, not DataStage. You need to go into the DataStage administrator and perform your changes there.
by ArndW
Tue Feb 16, 2010 5:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSR.ADMIN: The project location already exists
Replies: 2
Views: 2334

The list of projects that DataStage displays to you is held in a hashed file called UV.ACCOUNTS and it seems that your project has been successfully removed from there. Perhaps the user doing the deleting didn't have sufficient rights to remove all of the files and the directory. Try renaming the di...
by ArndW
Mon Feb 15, 2010 11:06 am
Forum: General
Topic: Strange errors accessing Administrator
Replies: 15
Views: 14003

Start it off simply and declare just one user, then ensure that this user has access rights to DataStage; do this by logging in as the user then attaching to the DataStage directory as specified above, executing the dsenv scription and then trying bin/dssh and if you get the ">" prompt lea...
by ArndW
Mon Feb 15, 2010 11:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Time Field Automatic Conversion to Timestamp
Replies: 7
Views: 1656

What is the data type in the source dataset?
by ArndW
Mon Feb 15, 2010 10:25 am
Forum: General
Topic: Strange errors accessing Administrator
Replies: 15
Views: 14003

$DSHOME is an environment variable that isn't necessarily set. There will be a file called ".dshome" in the root directory, so doing a cd `cat /.dshome` will get you to the right directory, then doing a . ./dsenv will set up the environment and then you'll have $DSHOME set correctly. What ...