Search found 6797 matches

by DSguru2B
Tue Jun 26, 2007 7:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Restartability through DS Job Control
Replies: 10
Views: 2801

Make your sequence job restartable. Everytime you start your sequence job, check for the "Abort" message. If its other than "Job aborted after x warnings" then start the sequence. It will automatically run from the point of failure. If the error message is something else, reset the sequence job and ...
by DSguru2B
Tue Jun 26, 2007 7:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: What is max size limit or record limit for hash lookup file
Replies: 4
Views: 1126

A 32 bit hashed file (default) will hold upto 2.2 Gigs of data. If you need to store more, then you need to create a 64 bit hashed file. Performance can be tweaked/increased by using different methods. One is to create multiple instance jobs and select a set of keys to be stored in each hashed file ...
by DSguru2B
Tue Jun 26, 2007 7:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Source to target loading using oracle and datastage
Replies: 24
Views: 8105

Check your target table again. Make sure all columns are present.
by DSguru2B
Mon Jun 25, 2007 6:53 am
Forum: General
Topic: Call a Routine in a Parameter value
Replies: 11
Views: 3496

If you have the info in afile, you can certainly write a small routine to type the value of the file, capture its return and send it back [using DSExecute()]. Call this routine in the job parameter's area,the return value of the routine will then be populated in the job parameter. I think thats what...
by DSguru2B
Fri Jun 22, 2007 1:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weired error on Transformer
Replies: 10
Views: 4370

Forget about the error in Red. Its not an error. The one in blue and green means that your source and target datatypes are not identical. If they are not, you need to explicitly do datatype conversions, using either the transformer functions or modify stage. Do an "search on all terms" on keywords, ...
by DSguru2B
Fri Jun 22, 2007 1:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 TO ORACLE TIMESTAMP
Replies: 12
Views: 6949

Use the Macro DSJobStartTimestamp.
by DSguru2B
Fri Jun 22, 2007 12:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: a database deadlock occured during this operation
Replies: 4
Views: 962

WHere does your repository sit? As in, what database?
It seems like there is something else holding the block that you are trying to access. Get your dba to monitor what exactly happens when you try to save.
by DSguru2B
Fri Jun 22, 2007 10:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Derivation Advise
Replies: 9
Views: 1980

Well, check for IsNotNull() for each column and if true, take that value. Something like

Code: Select all

If IsNotNull(col1) then col1 else if IsNotNull(col2) then col2 else if IsNotNull(col3) then col3 else ""
by DSguru2B
Fri Jun 22, 2007 10:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: deleting rows from a table and then inserting rows
Replies: 6
Views: 1217

OPEN/CLOSE commands get executed only once before or after the sql body, respectively.
Open your enterprise stage, go to the 'properties' tab. Its under 'Options Category'
by DSguru2B
Fri Jun 22, 2007 10:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to use the SERVER Functions in Parallel Jobs
Replies: 4
Views: 1474

If you go into the parallel transformer, expand the derivation, right click and go to "Functions". There are different functions for Strings like Convert(), Field(), INDEX() which are present in parallel jobs. But FMT and ICONV/OCONV are not. IF you can tell us what you are trying to achieve, someon...
by DSguru2B
Fri Jun 22, 2007 10:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 TO ORACLE TIMESTAMP
Replies: 12
Views: 6949

What if you chop off the milliseconds, does it work then?
by DSguru2B
Fri Jun 22, 2007 9:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 TO ORACLE TIMESTAMP
Replies: 12
Views: 6949

What happens when you send it directly to oracle without any conversion? Do you get any errors/warnings? If yes, can you paste it here?
by DSguru2B
Fri Jun 22, 2007 9:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to use the SERVER Functions in Parallel Jobs
Replies: 4
Views: 1474

What is the rule of conversion? In your first two examples, if you divide your input with 10, you will get your desired output. But your third example needs division by 1000.
You can use functions like StringToDecimal() to get your data converted.
by DSguru2B
Fri Jun 22, 2007 9:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 TO ORACLE TIMESTAMP
Replies: 12
Views: 6949

If your DB2 timestamp is in YYYY-MM-DD 24HH:MI:SS then no conversion is required. You can send it as it is.
by DSguru2B
Fri Jun 22, 2007 9:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: deleting rows from a table and then inserting rows
Replies: 6
Views: 1217

Use the OPEN command to pass a delete with the where predicate that contains those ids.