Search found 53125 matches

by ray.wurlod
Fri Jan 08, 2010 5:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture Reject data from reference dataset
Replies: 10
Views: 7272

Forget data combining stages (Lookup, Join, Merge) - they do not allow you to identify the rows that were not processed.

Look at one of the change detection stage types (Difference, Compare or, perhaps, Change Capture).
by ray.wurlod
Fri Jan 08, 2010 4:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert date values with timezone to dd-mm-yyyy forma
Replies: 4
Views: 2456

Is a solution required for any possible time zone in the world? For example Indian Standard Time will require you to change minutes as well as hours.

Some conversions - even within the USA - will require the day to be changed and then, as a possible flow-on, the month and maybe even year.
by ray.wurlod
Fri Jan 08, 2010 4:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare two intput files
Replies: 3
Views: 1384

Use the UNIX diff command either from an Execute Command activity in a sequence or from a before-job subroutine. Use the exit status of diff to determine whether to proceed with the other job. Yes, I know you're on Windows, but you have MKS Toolkit installed so that you can run the parallel engine.
by ray.wurlod
Fri Jan 08, 2010 4:46 pm
Forum: General
Topic: File vs Database
Replies: 7
Views: 2135

Actually the *best* structure for staging data between parallel jobs is the Data Set, since it preserves partitioning, internal data types and sorting. Neither files nor database tables do that.
by ray.wurlod
Fri Jan 08, 2010 4:38 pm
Forum: IBM QualityStage
Topic: Matching Help
Replies: 3
Views: 1540

So you're looking to match whenever Name OR Account is that same?

Have you tried a two-pass Match, one blocking on Account, the other blocking on NYSIIS of Name and matching on Name (and anything else you might need) as independent passes?
by ray.wurlod
Fri Jan 08, 2010 1:29 am
Forum: General
Topic: any one can explain schedule job by defining crontab
Replies: 5
Views: 4200

These are not documented by the vendor.

I suspect, but have not had the opportunity to verify, that they are related to two of the other options in the Job Run Options dialog, probably whether or not to disable project and local message handlers.
by ray.wurlod
Fri Jan 08, 2010 1:28 am
Forum: General
Topic: Issue returning data from Routine Activity
Replies: 10
Views: 3646

Definitely British (and definitely not Australian). Peter Cook and Dudley Moore - though the latter ended up being Californian if my memory serves me correctly.

See also Derek and Clive.
by ray.wurlod
Fri Jan 08, 2010 1:27 am
Forum: IBM QualityStage
Topic: Matching Help
Replies: 3
Views: 1540

I don't understand your algorithm. :?

What is it that gets NEW YORK and CALIFORNIA grouped with TRENTON ?

Does "group" here mean the same thing as a "block" in QualityStage match - a set of potential duplicates - with your Group being the same as QualityStage match's SetID ?
by ray.wurlod
Thu Jan 07, 2010 9:50 pm
Forum: General
Topic: Issue returning data from Routine Activity
Replies: 10
Views: 3646

If you can have Dud data, can you have Pete data?
:lol:
by ray.wurlod
Thu Jan 07, 2010 8:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Look up on Wild Cards
Replies: 3
Views: 1498

I had your problem the wrong way around.

What you actually need is a Lookup stage with four separate lookups, one for each of ProfitCenter, FunctionalArea, DocType and LogType (always in conjunction with Account), and some logic downstream to isolate which actually had the value supplied from source.
by ray.wurlod
Thu Jan 07, 2010 6:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Users & Jobs Monitoring
Replies: 1
Views: 783

Project can be determined by mapping the agent process PID to the project name in the project&!DS.ADMIN!& entry in list_readu output. Determining the jobs that a particular is running is fraught with difficulty. For example, was the job started by a connected client's agent process, by a dsj...
by ray.wurlod
Thu Jan 07, 2010 6:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture the Jobrun Status
Replies: 1
Views: 955

Set parameters in the job that loads the status table. Use calls to DataStage function DSGetJobInfo() in a routine, and use the return value from the routine (or user-defined system variables) to populated values into the individual parameters. FUNCTION GetJobStats(JobName) $INCLUDE DSINCLUDE JOBCON...
by ray.wurlod
Thu Jan 07, 2010 5:17 pm
Forum: General
Topic: Issue returning data from Routine Activity
Replies: 10
Views: 3646

The sqlplus command output includes a final linefeed, which DataStage converts to a field mark (@FM). You could simply have removed that.

Code: Select all

Convert(@FM,"",Output)
by ray.wurlod
Thu Jan 07, 2010 5:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Look up on Wild Cards
Replies: 3
Views: 1498

Assemble rows using stage variables to test whether "*" or an explicit value has been given, and preserve the explicit values into the output rows. Follow the Transformer stage with a Remove Duplicates stage to preserve only the last of each group (based on Account).
by ray.wurlod
Thu Jan 07, 2010 5:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generating variable number of rows
Replies: 6
Views: 3085

Re: Generating variable number of rows

asorrell wrote:Restrictions:
1) Can't write a routine to accomplish it.
2) Must be done in parallel.
3) Can be done with multiple jobs, but since it is a mod to an existing job, it would be easier if it was self-contained.

Ideas?
Resist stupid requirements!

I'd use a server job calling a server routine.