Search found 53125 matches

by ray.wurlod
Mon Mar 05, 2007 12:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning log capture
Replies: 14
Views: 3629

A job's status is always its current status. That's all you mentioned in your specification.

To get previous status requires going to the job log, even assuming that you don't have auto-purge up to previous 1 job run enabled. It would be substantially different code.
by ray.wurlod
Mon Mar 05, 2007 12:39 pm
Forum: General
Topic: Median Calculation
Replies: 36
Views: 10179

As observed, two passes through the data. There is no out-of-the-box sort for a dynamic array, but it's readily enough done, most easily while the dynamic array is being populated. FUNCTION SortDynArray(MyDynArray,Seq) * Insertion sort on dynamic array, must not contain nulls. * Assumes sing...
by ray.wurlod
Mon Mar 05, 2007 8:11 am
Forum: General
Topic: Median Calculation
Replies: 36
Views: 10179

Median requires two passes through the data. Can you please provide your algorithm for doing it in DataStage? I don't have one. (The same is true for Rank.)
by ray.wurlod
Mon Mar 05, 2007 8:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: clearing scratch space
Replies: 9
Views: 2504

madhukar wrote:removed the files in scratch space but still it gives 99% full (previously also)
Am i missing anything?

Yes, the 99%.
Use du -s to identify which directories are taking the resources.
by ray.wurlod
Mon Mar 05, 2007 8:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to assign sequence numbers to sorted data ?
Replies: 7
Views: 1573

Too difficult.

Just add a Column Generator, operating sequentially, downstream of the Sort stage (which presumably was also operating sequentially, or use a Sort Merge collector if not).

Use a Cycle with an increment of 1.
by ray.wurlod
Mon Mar 05, 2007 8:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: primary key in a orchestrate schema
Replies: 3
Views: 1469

And that, dare I say it, is your problem, not DataStage's.

A record schema describes a record.

PRIMARY KEY is a table constraint, not a record constraint.

A record schema does not describe a table.
by ray.wurlod
Mon Mar 05, 2007 8:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_BadAlloc: error while processing data in an aggregator
Replies: 7
Views: 3091

Sort IS available in the Aggregator; it's on the Partitioning tab of the Input link properties. Then you should also use "Sort" as the aggregator's operational method.
by ray.wurlod
Mon Mar 05, 2007 7:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Type cast
Replies: 8
Views: 1795

Re: Type cast

vinodhraj wrote:Hi,

I want convert datatypes inside the transformer.
Any soluton.

Thanks

Vinod

There ARE no data types inside the Transformer in server jobs.

Can you be more specific as to your requirement?
by ray.wurlod
Mon Mar 05, 2007 7:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dsx Change
Replies: 4
Views: 1065

From the client software (Designer or Manager) you can't change the first component (50) other than by upgrading the version of DataStage. You can't change the middle component other than via some versioning tool, such as Version Control. But you can change the third component.
by ray.wurlod
Mon Mar 05, 2007 7:56 am
Forum: General
Topic: Median Calculation
Replies: 36
Views: 10179

DataStage is not a reporting tool.

You do this in SQL. Hopefully in some variant of SQL that gives you a display function such as MEDIAN.
by ray.wurlod
Mon Mar 05, 2007 7:55 am
Forum: General
Topic: Calculating top vaues
Replies: 33
Views: 8467

DataStage is not a reporting tool.

You do this in SQL. Hopefully in some variant of SQL that gives you some display functions such as RANK in its query language, and some means to restrict a query based on rank.
by ray.wurlod
Mon Mar 05, 2007 7:53 am
Forum: General
Topic: Impossible...more like Im Possible !
Replies: 7
Views: 2118

... or on the way home from the office, having been phoned (usually Friday afternoon, ahead of the weekend) to pick up some nappies. That's the one. Like a lot of things that one discovers using a DW, it makes sense in hindsight.
by ray.wurlod
Mon Mar 05, 2007 7:51 am
Forum:
Topic: Metastage scalability
Replies: 8
Views: 3421

Business Glossary is another client that uses the common repository, so any business terms, etc., recorded in Business Glossary will be available to the other clients. In DataStage you could effect data elements to map the business terms to the underlying SQL data types. Metabrokers can still be use...
by ray.wurlod
Sun Mar 04, 2007 8:47 pm
Forum: General
Topic: Impossible...more like Im Possible !
Replies: 7
Views: 2118

Reminds one of Ford's response to Bill Gates's declaration that cars, if built like software, would cost $50 and be better than Rolls Royces. The Ford executive retorted that you'd have to fix any problems by everyone getting out, closing all the windows, restarting then opening the windows again. T...
by ray.wurlod
Sun Mar 04, 2007 8:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: schema file property row generator stage
Replies: 2
Views: 963

Welcome aboard. :D Do you comprehend what a record schema is, in the context of parallel jobs? From any table definition in the Repository you can click on the Layout tab then choose the Parallel option to view the equivalent record schema. Right click on the background area and you can save the rec...