Search found 297 matches

by jhmckeever
Sun May 04, 2008 5:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can i get all the jobs name in a sequence
Replies: 23
Views: 14825

You're currently looking for a sequence named 'Control_Sequence' ...
and DS_JOBS.NAME = 'Control_Sequence'
In a routine you can execute the call with ...

Code: Select all

InputArg = {YourQuery}
Call DSExecute("TCL", InputArg, Output, SystemReturnCode)
J.
by jhmckeever
Sun May 04, 2008 5:19 pm
Forum: IBM QualityStage
Topic: difference between Quality stage and QAS
Replies: 2
Views: 1956

QualityStage is a product now marketed by IBM as part of the Information Server suite. A description of QualityStage can be uncovered using a website called <a href="http://www.google.com">Google</a>. Here's a link to the search result ranking number 1: <a href="http://www-306.ibm.com...
by jhmckeever
Fri May 02, 2008 12:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File nane with date
Replies: 25
Views: 14408

It might help if you told us why you don't / won't / can't use a shell-based solution. An alternative is to construct a DSBasic routine: - Use the system date to construct a filename mask (E.g. MyFile_ DD_MM_YYYY _*) - Take a look at the relevant directory to see if any of today's files exist yet (s...
by jhmckeever
Thu May 01, 2008 10:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File nane with date
Replies: 25
Views: 14408

Using the 'script' approach I outlined previously you can specify your own date format. E.g. DD_MM_YYYY would be ... MyFilename_`date +%d_%m_%Y`.csv What are the criteria for incrementing the version number? Every job run? If so, you could store the value in an environment variable and use a before-...
by jhmckeever
Thu May 01, 2008 5:37 pm
Forum: General
Topic: Create Multiple Files Dynamically without using scripts
Replies: 6
Views: 5022

... need to get that parallel to server class sorted sometime ... :-)
by jhmckeever
Thu May 01, 2008 5:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: column import
Replies: 4
Views: 1623

Nope. What's the attraction to the Column Import stage? Don't get me wrong, it's a great stage - It's got a pretty cool icon too! Do you subscribe to the 'transformers are expensive and to be avoided unless absolutely necessary' ethos? Many people do. If you want to avoid a transformer you could try...
by jhmckeever
Thu May 01, 2008 5:18 pm
Forum: General
Topic: Create Multiple Files Dynamically without using scripts
Replies: 6
Views: 5022

That 'procedural programming' approach to the problem would be tackled by sorting by your filename column and using stage variables within a transformer. They are an ideal mechanism comparing neighbouring rows in sorted datasets. You could also create a 'keyChange' column in the preceding sort to id...
by jhmckeever
Wed Apr 30, 2008 9:03 pm
Forum: IBM QualityStage
Topic: CLS Conversion
Replies: 3
Views: 2150

However, my output shows that it sometimes doesn't convert it. Is there any pattern to the 'sometimes' when the conversion doesn't happen? What have you determined from trying example data through your rules using the Rules Analyzer? Do you have any other entries in your CLS file involving the clas...
by jhmckeever
Wed Apr 30, 2008 6:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Scheduling job backup
Replies: 5
Views: 2531

There's nothing destructive about the script, so go ahead and try it - You'll get a helpful usage message: DataStage Automated Backup Routine Based on design by Manoli Krinos Modified by M Ruland to allow iteration through a complete server set of projects Also Modified by T.J. Griesenbrock to utili...
by jhmckeever
Wed Apr 30, 2008 6:13 pm
Forum: General
Topic: Create Multiple Files Dynamically without using scripts
Replies: 6
Views: 5022

Why do you want to avoid using scripts? Is it because you don't want to have to manage a deliverable asset external to the DataStage environment? Personally, I'd be inclined to develop the script and implement it in an External Target stage. Your script would : - Read from stdin, - Determine the tar...
by jhmckeever
Tue Apr 29, 2008 1:26 am
Forum: General
Topic: Information On Demand 2008 in Australia
Replies: 2
Views: 1447

... but be aware of the following: Attendance is limited to IBM customers and prospects, subject to advanced confirmation from IBM. IBM reserves the right to refuse attendance based on a registrant's status. So, no free lunch for a common-or-garden developer like me. Which is a shame as the <a href=...
by jhmckeever
Mon Apr 21, 2008 5:53 pm
Forum: IBM QualityStage
Topic: Capabilities of Quality Stage Version 8.0
Replies: 7
Views: 4771

I'm sure QAS can fulfill most (if not all) of your requirements. On a previous project I used QAS to "cleanse" the addresses and QualityStage to process the extraneous vanity/cherished information which QAS throws out as 'junk'. When you're trying to get a bill to the desk of an account pa...
by jhmckeever
Mon Apr 21, 2008 5:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get DataStage job User Name?
Replies: 5
Views: 1811

Where exactly is it "not accepting" @LOGNAME?
by jhmckeever
Sun Apr 20, 2008 7:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove Duplicates...
Replies: 6
Views: 2099

A couple of other factors which *might* influence your decision are: 1. Is the source table partitioned on the relevant keys? 2. What percentage of rows are duplicates? (or are anticipated to be duplicates in the production data) As ever, the 'true' answer will come from trying both with realistic d...