Search found 4992 matches

by kcbland
Mon May 09, 2005 12:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sorting 'DATE' using sort command
Replies: 4
Views: 985

What are you talking about?

The unix sort command? The plugin? Are you attempting to use "sort" on a file and want to use a field that contains a "date" as a key?

Please be more specific.
by kcbland
Mon May 09, 2005 8:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running the ODBC driver from Basic in DataStage
Replies: 6
Views: 1802

The main benefit of this routine was to address directly a table in Oracle 9 and extract the data returned by a SELECT statement, for further usage in a Basic program. The same effect can be achieved thru a system command call to sqlplus. It's a whole lot cleaner, uses Oracles client software to ma...
by kcbland
Fri May 06, 2005 2:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stop Link execution
Replies: 3
Views: 698

Create an output link to a sequential text file. In the constraint, put the check that determines if the fatal condition is met. Set the Abort After Rows value on that link to 1. The first row to meet the fatal condition will go down that link, causing the job to abort.
by kcbland
Tue May 03, 2005 2:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Bulk Load - Truncate and direct=true options
Replies: 1
Views: 472

Only thru an after-routine/job call to edit the control file programmatically. You're better off spooling to a sequential file and loading thru a hand-written ctl file anyway.
by kcbland
Mon May 02, 2005 9:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS job taking long time to finish
Replies: 4
Views: 2017

You need to look at the explain plan. If it's a full table scan of a partitioned table and you're not supplying the partitioning key with a parallel query, then you are in the worst situation possible on the database side. Start with the database and have a DBA look at the activity.
by kcbland
Mon May 02, 2005 8:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to load subroutine on host (30105).
Replies: 6
Views: 4664

First of all, is this a new installation?

Second, what do you mean by recover? What did you do?
by kcbland
Fri Apr 29, 2005 8:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSStopJob(DSJ.ME) is failing in JOB CONTROL
Replies: 2
Views: 656

Just use DSLogFatal to abort a job by writing a RED message to the job log. That will leave the job in an unusable state, just the same as if another job issued the STOP call.
by kcbland
Thu Apr 28, 2005 2:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Command Stage
Replies: 6
Views: 1217

If you have a directory structure:

Code: Select all

/aaa/bbb/ccc/ddd/eee


You can make a symbolic link represent the directory:

Code: Select all

$ ln -s /tmp/xyz /aaa/bbb/ccc


If you do a

Code: Select all

ls -l /tmp/xyz

you actually see the same results as doing

Code: Select all

ls -l /aaa/bbb/ccc


You can change symbolic links on demand.
by kcbland
Thu Apr 28, 2005 12:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Command Stage
Replies: 6
Views: 1217

The error message exactly states the problem. The stage is deficient in that you cannot use parameters in the path to the command (kind of irritating, do you agree?). The only solution for you is either environment variables or symbolic links. We've been asking for years to allow this functionality,...
by kcbland
Wed Apr 27, 2005 9:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage permissions question
Replies: 6
Views: 1507

What about giving the users the director priviledge but do not say the important user/pass info (apart from those required to login to DS Server). No, the server login is the DataStage user login. There are no abilities within DataStage to do what was asked. You can setup programmatic solutions tha...
by kcbland
Tue Apr 26, 2005 2:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage permissions question
Replies: 6
Views: 1507

No.
by kcbland
Tue Apr 26, 2005 12:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORA-01555: snapshot too old
Replies: 22
Views: 6080

I will implement this. Do i have to check on Allow multiple instance? How do you I give a name to an instance Concatenating the sequential files after using the MOD function, will that not disturb the original sequence? Or does that not matter? I have never done this before, can you please tell in ...
by kcbland
Tue Apr 26, 2005 11:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORA-01555: snapshot too old
Replies: 22
Views: 6080

In the source query, add a where clause to divide the source data into even pieces. I like using the MOD function. Add 2 job parameters, PartitionCount and PartitionNumber. Put #PartitionNumber# into the output sequential file name. select col1, col2, col3, col4 from your_table where mod(colx, P...
by kcbland
Tue Apr 26, 2005 11:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORA-01555: snapshot too old
Replies: 22
Views: 6080

ArndW wrote:Ken,

sweet :D Short, simple and to the point. I bet you have some Prussian ancestors...


My ancestral family names are Jung, Leviso, Schuh, and Krause, immigrants from Germany and Norway in the late 1800's.
by kcbland
Tue Apr 26, 2005 10:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORA-01555: snapshot too old
Replies: 22
Views: 6080

All I am doing is selecting all rows from a table in one Schema and inserting it into another table in a different schema "Update action being -Truncate table then insert rows" If this is on the same intance, why not use an efficient script that can utilize parallel query and parallel dml and sqlld...