Search found 15603 matches

by ArndW
Wed Aug 01, 2012 3:35 am
Forum: General
Topic: Job is not in the right state (compiled and not running)
Replies: 60
Views: 17247

DataStage was first developed without multiple instances and invocation IDs. These were added later, but there is only one job and only one job log, all entries from the job run and in the instances run are in the same log (which is why you are seeing the 2 instances shown as part of the main job); ...
by ArndW
Wed Aug 01, 2012 3:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading Data Through Dataset
Replies: 4
Views: 1850

No, the dataset stage does not have that option. You would need to put a stage right after the read. I know that a Transform stage with the constraint "@INROWNUM < 2000" (in a 1-node configuration) would work, but there should be some other more efficient way that I can't think of right now.
by ArndW
Wed Aug 01, 2012 1:47 am
Forum: General
Topic: Job is not in the right state (compiled and not running)
Replies: 60
Views: 17247

I'd take it step by step. Clear the log (in the director, from the main job, not one of the invocations). Recompile the job. Now your logs are clear and the job status will be compiled; at least until it is executed without an invocation. Run your sequences and when the state of the main job changes...
by ArndW
Wed Aug 01, 2012 1:43 am
Forum: General
Topic: List of parameter values
Replies: 2
Views: 927

I don't know of a way to get this from the command line. The DataStage API function DSGetParamInfo will get you the default values (the link goes to the IBM page for the BASIC call, but there is also a c++ call available).
by ArndW
Wed Aug 01, 2012 12:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Shared Container and RCP Issue...
Replies: 10
Views: 4993

You need to create the columns in a stage such as the modify stage (preferred) or a transform stage; the copy stage won't do this for you, as you've discovered.
by ArndW
Tue Jul 31, 2012 2:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: REPLACE on four quotes
Replies: 2
Views: 1165

Re: REPLACE on four quotes

Could it be that some spaces have been removed from your post? Do you want to blank-pad your strings to 4 characters?

Code: Select all

OutCol = Left(In.Col:'    ',4)
by ArndW
Tue Jul 31, 2012 2:16 pm
Forum: General
Topic: Problem in DS Mutli-Client Manager
Replies: 1
Views: 655

Although I'm not sure what your problem is, the /Temp directory is always installed in the windows home directory; you need to do a lot of work, including editing several registry entries, in order to move that temp elsewhere.

Are you using the Multi-client manager tool to switch versions?
by ArndW
Tue Jul 31, 2012 10:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help on Performance Tuning
Replies: 8
Views: 2968

With Transaction size of 0 everything is grouped as one transaction, and the database has to take care of making a before-image for each and every record that you are deleting, then a copy of each and every record you are inserting. Once those two actions have been performed it starts doing actual c...
by ArndW
Tue Jul 31, 2012 7:53 am
Forum: General
Topic: SQLServer 2008 Failover
Replies: 6
Views: 1464

I haven't done failovers on SQL-Server, but doesn't the failover database inherit the database name and other attributes, making a failover almost transparent to the database users and not requiring multiple settings?
by ArndW
Tue Jul 31, 2012 7:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Connector stage using user defined query.
Replies: 8
Views: 10746

I couldn't think of an example yesterday, but have a good one today - In the database I have columns defined as SQL-Server type "timestamp2" with 7 digits of microsecond precision, but DataStage only allows 6 digits. With the setting of schema reconciliation set to default, my job aborts. ...
by ArndW
Mon Jul 30, 2012 10:46 am
Forum: General
Topic: BatchNo,Message Type,Message Detail info using Routine
Replies: 13
Views: 3100

While Craig and many others here can get you started, why not download the free ETLStats from Kim Duke's website which should cover the functionality you need?
by ArndW
Mon Jul 30, 2012 7:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup return value to another lookup within one lookup stag
Replies: 1
Views: 861

That would be cool if it worked :) If you have two lookups after one another in a job then DataStage might combine those operators automatically, and putting those two lookups after each other on the designer makes the job logic a lot easier to understand.
by ArndW
Mon Jul 30, 2012 7:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Connector stage using user defined query.
Replies: 8
Views: 10746

What Chandra has suggested is a way to avoid seeing the error. It is much better to fix the problem and avoid the overhead associated with doing an unnecessary cast/conversion. There is a reason that the default for this setting is "OFF" and this is a good example of why; namely the settin...
by ArndW
Sun Jul 29, 2012 5:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: High disk utilisation in project & DS Engine directory
Replies: 8
Views: 4496

There is no built-in program or functionality to archive logfiles. That having been said, the log files are standard hashed files which can easily be read from DataStage server jobs, or you have the ability to output the log files to stdout from your command line and can redirect them to a flat file...
by ArndW
Fri Jul 27, 2012 2:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Connector stage using user defined query.
Replies: 8
Views: 10746

try with bigint, as in my first post.