Search found 11 matches

by davidthree
Wed Feb 04, 2004 12:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date conversion
Replies: 7
Views: 3762

As an alternative to using the inner/outer conversion functions, why not just process the date using string manipulation:

Code: Select all

MyDate[9,2]:'/':MyDate[6,2]:'/':MyDate[1,4]:MyDate[11,9]
should perform the conversion you require.

Although this might be slow (?)

David
by davidthree
Wed Feb 04, 2004 7:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Redundant servers
Replies: 2
Views: 1703

oops.... that was recent! must try more search strings next time....

Thanks Craig.
by davidthree
Wed Feb 04, 2004 6:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read Hash file from BASIC Code
Replies: 7
Views: 4966

Hi ipc I use a modified version of UtilityHashLookup, which I call DirectoryHashLookup. It takes two keys (but can easily be modified). The code is as follows: ************************************************************************* * Author: David Thompson * Date: 16th December 2003 * This functio...
by davidthree
Wed Feb 04, 2004 4:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Redundant servers
Replies: 2
Views: 1703

Redundant servers

Hi All

Does anybody know how, or if, DataStage is able to schedule jobs to run on either of two physically distinct servers, such that if one should go down for whatever reason, the jobs will continue to run on only the surviving box?

Thanks

David
by davidthree
Tue Jan 06, 2004 8:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: maximum length of SQL WHERE clause? (Abnormal Termination)
Replies: 11
Views: 6998

Hi Guys Thanks for all the feedback. Ray - I have split the job in two, thus creating two jobs, each of which has only half the original number of conditions in the WHERE clause. Otherwise, these two jobs are identical to the original one job, and combined, they perform the same function on the same...
by davidthree
Mon Jan 05, 2004 4:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: maximum length of SQL WHERE clause? (Abnormal Termination)
Replies: 11
Views: 6998

maximum length of SQL WHERE clause? (Abnormal Termination)

Hi All I have had problems with two of my jobs, which abort with the following error message: Abnormal termination of stage JobNAME..Transform detected (where Tranform is the name of the job's transformer). Both jobs have long conditions specified within the WHERE clause of the input Oracle OCI stag...
by davidthree
Wed Dec 10, 2003 2:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hardware requirements
Replies: 4
Views: 1991

Thanks for those, they were very helpful. One more question however. Kenneth - you mention the type of i/o activity DS is going to do to them Could you clarify the sort of activity we should expect? Would the following encompass it? writing log files reading / writing inter-job hash files one-time r...
by davidthree
Wed Dec 10, 2003 9:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hardware requirements
Replies: 4
Views: 1991

Hardware requirements

Hi All I'm trying to pin down some hardware requirements for a DataStage server to run an overnight Data Migration job. We're using DataStage 5.2.2 on Solaris, and will probably run 8 parallel jobs over 8 CPUs. The job uses several hash files, all pre-loaded to memory, but none larger than 500 kB. T...
by davidthree
Tue Nov 11, 2003 9:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error logging using Oracle OCI
Replies: 5
Views: 3524

The DBMS code is null in most cases, so this approach doesn't work (writes all rows to the reject file). However, I tried some similar approaches and it seems that, although the unconstrained reject row fails to work without any constraint, the Linkname.REJECTED variable is still set correctly. I've...
by davidthree
Tue Nov 11, 2003 6:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error logging using Oracle OCI
Replies: 5
Views: 3524

Hi Rasi

That approach returns all rows into the reject file, whether they are rejected by Oracle or not. I just want to get the rows that are rejected by the database.

David
by davidthree
Tue Nov 11, 2003 3:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error logging using Oracle OCI
Replies: 5
Views: 3524

Error logging using Oracle OCI

Hi I've been using the Oracle OCI stage in DataStage 5.2.2. The stage writes out a number of rows to various tables in the database, and rolls back all rows should an error be encountered when writing any one row (eg. value too long for column). In the transformer which feeds the OCI stage, I also h...