Search found 53125 matches

by ray.wurlod
Tue Aug 10, 2004 5:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: execute stored proc in job?
Replies: 5
Views: 2156

Stored procedures called from within DataStage jobs must process at least one row of data. "Stand alone" suggests that your stored procedure does not fall into that category. If you have a licensed ODBC driver you might contemplate using a routine using BCI functions; otherwise you will need to use ...
by ray.wurlod
Tue Aug 10, 2004 5:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: date comparison issue
Replies: 1
Views: 760

There is no way to do this using a Hashed File stage which, conceptually at least, performs an equi-join on the key column values. Given that the data are in a hashed file, you can use a UV stage to access it using conventional SQL, which allows for a BETWEEN selection. Use the pre-defined DSN local...
by ray.wurlod
Tue Aug 10, 2004 2:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Truncate a project
Replies: 14
Views: 3883

I don't know how to do it from the UNIX command line. Even if you could do it from the DataStage command prompt (>), there are way too many separate components to drop or remove (as appropriate) ever to be conveniently loaded into a single command. To create such a command (set of commands run from ...
by ray.wurlod
Mon Aug 09, 2004 9:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Aggregator Stage: Server vs. Mainframe
Replies: 5
Views: 1289

Denies Knowledge of Future Plans

Just to set the record straight, I am not, and never have been, an employee of Ascential. On this basis it is unreasonable to expect that I am privy to their plans, other than those that they publish ("roadmaps"). All of you have access to these; I take the trouble to study them. I did work for VMAR...
by ray.wurlod
Mon Aug 09, 2004 9:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NUMBER OF RECORD TO LOW
Replies: 7
Views: 914

How many rows per second does sqlplus deliver? The problem could be in the network connection itself. Are you using identical SQL statements in your OCI stage and in sqlplus? (If not, your comparison is not valid.) Remember, too, that rows/second is a very misleading figure. The seconds include all ...
by ray.wurlod
Mon Aug 09, 2004 9:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NUMBER TO VARCHAR
Replies: 3
Views: 654

Guess what the defining expression for the DIGITS Transform is? :wink:

Don't you thing that DIGITS is a more easily remembered name than Oconv(Arg1, "MCN") ?
by ray.wurlod
Mon Aug 09, 2004 9:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Folder Stage + extra lines
Replies: 4
Views: 1290

The end of file character (Ctrl-D in UNIX, Ctrl-Z in Windows).

It's probably impossible to check for when using the Folder stage. Alter your design so that empty lines are filtered out (for example, filter through grep -v '' in UNIX)
by ray.wurlod
Mon Aug 09, 2004 9:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File
Replies: 8
Views: 4071

Keeping it simple

There are two criteria: number of rows and maintenance. Number of Rows Use a static hashed file if the total number of rows is known in advance and unlikely to change very much. Use a dynamic hashed file if the number of rows is not known in advance or it is known that the number will vary markedly ...
by ray.wurlod
Mon Aug 09, 2004 9:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help Needed in Programming in BASIC
Replies: 6
Views: 1015

Why are you using a routine at all?!! A lookup to the hashed file would serve as well. The same hashed file can be kept up to date within the job by writing to a second Hashed File stage, remembering to set lock for update in the stage that reads from the hashed file. This technique is taught in the...
by ray.wurlod
Mon Aug 09, 2004 9:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: check error starting master sequence
Replies: 3
Views: 694

Read the on-line help about DSAttachJob(). Its second argument determines whether, if the controlled job aborts: (a) the controller aborts (b) the controller logs a warning but keeps going (c) the controller keeps going without logging anything Automatically-generated job control code chooses option...
by ray.wurlod
Mon Aug 09, 2004 9:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Doing Maximum of character column in an Aggregator
Replies: 6
Views: 6279

That's a question that rightly should be directed at the vendor (Ascential Software). If it can not form aggregate functions properly on character data, even though the data contain only numeric characters, this is a bug.
:cry:
by ray.wurlod
Mon Aug 09, 2004 2:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Templates I found on my version 7 client
Replies: 9
Views: 2628

This directory is used when, in Designer, you select "create job from template" or "create template from job". The ones provided are, or support, the "intelligent assistants" you would have read about in the readme files. Not much more to say, really... Except that they are local to one PC. However,...
by ray.wurlod
Sun Aug 08, 2004 9:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Debugging Client has Disconnected
Replies: 14
Views: 4589

This is no consolation, but I recently encountered the same thing on a 7.1 site. I think it's a (re-introduced?) bug.

Luckily I was able to what I needed to do using stage tracing.
by ray.wurlod
Sun Aug 08, 2004 9:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SEETING CURRENT FLAG
Replies: 5
Views: 2983

The solution will most likely involve stage variables, and require that your input be sorted. Read about stage variables in the DataStage manuals. Alternate solutions exist, involving Routines and variables declared to be in a COMMON area in memory. The RowProc category of SDK routines make use of t...
by ray.wurlod
Sun Aug 08, 2004 9:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ELSE IF STATMENT
Replies: 10
Views: 2195

If you would use the Expression Editor to create this expression you would discover that input column names must be qualified with input link names. String constants must be quoted, as in most (all?) programming languages. Hence for example, unless it's the name of a stage variable, D2D is meaningle...