Search found 42189 matches

by chulett
Thu Jun 19, 2014 9:38 am
Forum: General
Topic: How to write DS Server Routine and call in job?
Replies: 9
Views: 7093

The product ships with all kinds of "sample" code, pretty much every routine includes the source code. Find them and start examining them, one of the best way to learn how things work is to study working things.
by chulett
Thu Jun 19, 2014 8:20 am
Forum: General
Topic: How to write DS Server Routine and call in job?
Replies: 9
Views: 7093

I already moved it there... we're here right now. And replied as well. I'm no Arnd but I think I can hold my own.
by chulett
Thu Jun 19, 2014 7:42 am
Forum: General
Topic: How to write DS Server Routine and call in job?
Replies: 9
Views: 7093

Decided to push this over to the General forum where we can discuss all aspects of routine creation. And why create a routine that already exists and ships with the product? It's called "KeyMgtGetNextValue". :wink: If you find it and open it up as if you were going to edit it (don't) you'l...
by chulett
Thu Jun 19, 2014 7:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I read a DBASE DBF file?
Replies: 10
Views: 2688

As far as I know, those routines would still need to use the appropriate dBase ODBC drivers as well, so you might as well stick to writing a job. You might trying Googling to see what other conversions are possible. Hmmm... "convert dbf to csv" returned lots of hits but you'll need to get ...
by chulett
Wed Jun 18, 2014 3:20 pm
Forum: General
Topic: Space issue for XMETA_DATA tablespace
Replies: 9
Views: 2432

For grins... what database vendor?
by chulett
Wed Jun 18, 2014 10:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MQHRF2 header write using mq connector
Replies: 5
Views: 2117

In the meantime, I assume you've contacted your official support provider - yes?
by chulett
Wed Jun 18, 2014 10:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External Filter stage command
Replies: 6
Views: 2362

Ah... good. Glad I could help, somehow. :wink:
by chulett
Wed Jun 18, 2014 9:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External Filter stage command
Replies: 6
Views: 2362

Now on:

Code: Select all

sed -e 's/THE STATE/           /g'
by chulett
Wed Jun 18, 2014 9:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External Filter stage command
Replies: 6
Views: 2362

No, I mean the "code tags" that are available on any web board like this and which you have buttons for right above where you type when composing a text. I'm going to enable the "Disable BBCode in this post" option here so you can see what they look like when editing. Leave the o...
by chulett
Wed Jun 18, 2014 7:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS_FORCE_ABORT_AT_WARN_LIMIT
Replies: 5
Views: 3727

Re: DS_FORCE_ABORT_AT_WARN_LIMIT

Raftsman wrote:We could use the "dsjob -run -warn 1" but it will pass if only one warning is thrown.
Actually, that means abort on the first warning.
by chulett
Wed Jun 18, 2014 7:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External Filter stage command
Replies: 6
Views: 2362

You should be aware by now that all of your examples need

Code: Select all

[/b] tags around them to preserve all that 'extra' whitespace you'd like us to be able to see.
by chulett
Wed Jun 18, 2014 7:12 am
Forum: General
Topic: Wait for file activity
Replies: 7
Views: 3445

As noted. :wink:
by chulett
Wed Jun 18, 2014 7:11 am
Forum: General
Topic: Change a default value by script
Replies: 11
Views: 2658

You'd have to unzip it, perform the edit and then zip it back up again. Is that not possible? I have no way to test any of this, hence the question.
by chulett
Tue Jun 17, 2014 1:03 pm
Forum: General
Topic: Wait for file activity
Replies: 7
Views: 3445

Because of the underlying software DataStage uses, you can still use 'UNIX' scripts on a Windows DataStage server. That or replace all occurrences of "shell script" in my response with "batch file".
by chulett
Tue Jun 17, 2014 12:01 pm
Forum: General
Topic: Wait for file activity
Replies: 7
Views: 3445

Welcome aboard. As you've found, the WFF stage does not support wildcards so you'll need some other mechanism. How are your shell scripting skills? You could script something equivalent and then use an Execute Command stage to run it. Some other approaches inside DataStage are noted here and here.