Search found 53125 matches

by ray.wurlod
Mon Feb 28, 2011 5:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implemention of aggregate funtion SUM
Replies: 6
Views: 2013

Use the Aggregator stage, perhaps in a fork-join model as you indicate. It will work, and it's the easiest mechanism.
by ray.wurlod
Mon Feb 28, 2011 5:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle EE to oracle connector
Replies: 9
Views: 5813

Why not upgrade to version 8.5? Far fewer bugs and a much easier installation than 8.1 and, yes, Enterprise stage types are automatically converted to Connector stage types.
by ray.wurlod
Sat Feb 26, 2011 10:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Could not find input field
Replies: 4
Views: 17103

Looks like you have a field on the input link that is not transferred to the output link. Do you really need this field?
by ray.wurlod
Sat Feb 26, 2011 10:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: diff between .isx and .dsx
Replies: 4
Views: 10984

I believe, but have not checked, that the ".isx" file is compressed.
by ray.wurlod
Sat Feb 26, 2011 7:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: diff between .isx and .dsx
Replies: 4
Views: 10984

DataStage export generates ".dsx". Information Server Manager export generates ".isx". The former can include only DataStage components. The latter can include components from other products, such as Business Glossary and FastTrack.
by ray.wurlod
Sat Feb 26, 2011 7:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: initializeFromArgs - Filter Stage
Replies: 1
Views: 3018

What's the value of the WHERE Clause property?
by ray.wurlod
Sat Feb 26, 2011 4:25 pm
Forum: General
Topic: I WANT TO SEND SYSDATE AS PARAMETER,SO WHAT COMMAND I SHOULD
Replies: 3
Views: 7534

Assming you're assigning a job parameter value in a job activity in a sequence job, then you need to obtain the system date (either as the system variable @DATE or function Date()) and convert it to your required format. Oconv(@DATE, "D-YMD[4,2,2]") If you require a timestamp format, then ...
by ray.wurlod
Sat Feb 26, 2011 3:57 pm
Forum: General
Topic: I WANT TO SEND SYSDATE AS PARAMETER,SO WHAT COMMAND I SHOULD
Replies: 3
Views: 7534

Three admonishments: 1. Always post in the correct forum. The one you chose is to suggest ideas for formal FAQ articles. If this is a DataStage question, post either in the Server job forum or the Enterprise Edition (parallel job) forum or, if you are not sure of the job type, in the General forum....
by ray.wurlod
Sat Feb 26, 2011 5:26 am
Forum: General
Topic: DS Job hagging when called an After Job routine
Replies: 2
Views: 5039

A job can not attach to itself. Do not call DSAttachJob() at all. Use DSJ.ME for the job handle in the other functions.
by ray.wurlod
Fri Feb 25, 2011 11:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to make a record for each comma separated field
Replies: 25
Views: 7645

When the field delimiter is something else.

Code: Select all

42~DENT~Arthur~BA,BSc,FAISSA,HH2G~1998-10-21~V
by ray.wurlod
Fri Feb 25, 2011 2:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to make a record for each comma separated field
Replies: 25
Views: 7645

This is precisely what the new looping construct in the Transformer stage (version 8.5) is intended to do.
by ray.wurlod
Fri Feb 25, 2011 2:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: EXTRACT Numbers only
Replies: 8
Views: 3541

This is a useful technique: it has been posted previously. Convert(InLink.TheField, Convert(InLink.TheField, "0123456789", ""), "") The inner Convert() function returns a string of all non-numeric characters in the field; the outer Convert() function removes all of thos...
by ray.wurlod
Fri Feb 25, 2011 2:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to create empty XML file?
Replies: 3
Views: 1868

U is one of our posters. Ur was a city in Ancient Babylonia. The second person pronoun in English is spelled "you" where nominative and "your" where possessive. Please strive for a professional standard of written English on DSXchange. You can create an empty file in an after-jo...
by ray.wurlod
Fri Feb 25, 2011 2:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Internal Error: (start <= end): surrkey/keystate.
Replies: 1
Views: 3238

The Surrogate Key state file should be created using a job that has the Surrogate Key Generator stage with no links whatsoever.

The Surrogate Key state file can then be initialized, if required, using a job that has a Surrogate Key Generator stage with an input link.
by ray.wurlod
Fri Feb 25, 2011 2:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Month from Date YYYY-MM-DD
Replies: 4
Views: 1747

If you're reading a string containing a timestamp, just use substring technique. InLink.TheString[6,2] If you want to remove leading zero, just use this in an arithmetic expression. InLink.TheString[6,2] + 0 Since server edition does not have an internal timestamp representation that's all the discu...