Search found 42189 matches

by chulett
Sun Aug 12, 2012 11:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Column to row transpose in datastage
Replies: 2
Views: 2746

Use transformer looping for complex problems, this is your basic boring pivot so use the Pivot stage.
by chulett
Sat Aug 11, 2012 9:14 pm
Forum: General
Topic: Skip Jobs in Sequencer
Replies: 5
Views: 1924

Interesting idea. Thought about something similar back in the day but never had any time to do anything of the sort. Could be fun. :wink:
by chulett
Sat Aug 11, 2012 5:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Compare Current Record with Previous record
Replies: 5
Views: 3597

Based on the example posted, it looks to me like you've already got your "AId" field in the "Id" field. Can we get a more realistic example, please? One that shows why you would need an additional field.
by chulett
Fri Aug 10, 2012 8:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to use Regular Expressions in Datastage?
Replies: 3
Views: 7123

I actually meant that you would be able to take the written requirements and turn that into DataStage PX functions. Not for you to do that so others would do it for you. However... As I said, Convert() is a powerful ally here. It can handle the first example all by itself, no need for Trim. Check th...
by chulett
Fri Aug 10, 2012 9:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to use Regular Expressions in Datastage?
Replies: 3
Views: 7123

Well... those are Oracle regular expression functions which you could certainly continue to use. As for DataStage, since there is no direct support for "regexp", first thing in my mind would be to break down what exactly that expression is doing and put it into words. I've found that works...
by chulett
Fri Aug 10, 2012 6:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Db2 Connector Stage
Replies: 3
Views: 2756

If things are working as you are saying, seems to me you should contact your official support provider and ask them the why of that.
by chulett
Fri Aug 10, 2012 6:15 am
Forum: General
Topic: EXECSH at the end of a job called by a sequence
Replies: 21
Views: 6889

I don't know why you think you need a Sequence job to run a script, if you had one it could be run via the same ExecSH after job command you are using right now. That being said, seems to me all you need to do is add the one line to the beginning of your sql file that Chetan noted: WHENEVER SQLERROR...
by chulett
Thu Aug 09, 2012 5:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with Datetime fields
Replies: 4
Views: 6949

Moved. I made some assumptions about your Version & O/S, please let us know if they are incorrect.

Seems like every post in the FAQ Discussion forum really belongs elsewhere. [sigh] Sad little forum. :cry:
by chulett
Thu Aug 09, 2012 1:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pad string
Replies: 15
Views: 7438

What are the data types for your source and target fields? Strings?
by chulett
Thu Aug 09, 2012 12:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Interview question could not answer,kindly guide
Replies: 7
Views: 3995

Popular question, it would seem.

Someone else has the same dilemma here.
by chulett
Thu Aug 09, 2012 12:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pad string
Replies: 15
Views: 7438

Show us your syntax.
by chulett
Thu Aug 09, 2012 9:57 am
Forum: General
Topic: execute command for readinging sequentialfile in looping
Replies: 5
Views: 1942

Or "test -s" and make sure it fails. :wink:

Note that these assume you have the MKS Toolkit installed and can thus run UNIX commands. DOS commands to check filesize are... trickier.
by chulett
Thu Aug 09, 2012 7:20 am
Forum: General
Topic: Disabling and Enabling the index ,Db is sql server 2008
Replies: 6
Views: 1598

Typically one would do something like that on the target not the source tables. As noted, if your goal is to improve the runtime that is not the way to do it.
by chulett
Thu Aug 09, 2012 7:17 am
Forum: General
Topic: ODBC error
Replies: 2
Views: 1053

Show us your entries.
by chulett
Thu Aug 09, 2012 7:14 am
Forum: General
Topic: Job is not in the right state (compiled and not running)
Replies: 60
Views: 17247

Agreed. Purging by runs was problematic early on and may still not be the world's greatest idea. See if switching to age-based auto purging helps.