Search found 1015 matches

by Mike
Tue May 03, 2016 7:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameter Set Value File Question
Replies: 4
Views: 5073

You could use an execute command activity to update the content of the values file utilizing your favorite scripting language perl/sed/awk before invoking your job from a job activity.

Mike
by Mike
Thu Apr 28, 2016 4:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with wrong surrogate keys
Replies: 7
Views: 4753

I've done a pretty extensive amount of testing of the surrogate key generator using flat file state files over the years. The behavior that the OP observed is perfectly normal and most likely not a problem. As long as all of the key values in the table were generated from the same surrogate key stat...
by Mike
Wed Apr 27, 2016 4:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with wrong surrogate keys
Replies: 7
Views: 4753

You have no problem. That is the nature of parallel key generation. Each processing node acquires a block of keys to use. When the block is used up, a new block will be acquired. Surrogate keys are only guaranteed to be unique. Gaps are perfectly fine.

Mike
by Mike
Sun Apr 24, 2016 8:02 pm
Forum: General
Topic: shell script permission denied error
Replies: 6
Views: 5068

Also check the permissions at every level of /fullpath.

Mike
by Mike
Tue Apr 12, 2016 6:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformation help required in Transformer
Replies: 8
Views: 3311

That's pretty straight forward these days with a couple of parallel transform functions: one to subtract a month and another to get the number of days in a month. What I don't remember though... in what version was the DaysInMonth function added? It's relatively new and I don't remember if it existe...
by Mike
Thu Apr 07, 2016 1:28 pm
Forum: IBM QualityStage
Topic: MDM and QualityStage Integration
Replies: 3
Views: 6766

I will assume that you imported the MDMQS example jobs and ISD project that were bundled with MDM. Back when I did this on version 9.1, I had to edit the ISD project before importing it. It referenced an IBM host that I had to replace with our host. See if that might still be the case in your versio...
by Mike
Thu Mar 31, 2016 4:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: change data capture - How can I preserve certain fields?
Replies: 4
Views: 2791

Use the join stage with a full outer join. You will have access to all of the columns from the left link as well as all of the columns from the right link. Keep the ones that you want.

Mike
by Mike
Mon Mar 28, 2016 5:07 pm
Forum: General
Topic: ExeCmd always execute SERIALLY within a single Sequence Job
Replies: 9
Views: 4403

Activities in a job sequence are executed sequentially. You will see that if you investigate the generated BASIC code. A job activity starts a job without waiting for it to finish. That is why you obtain the parallel execution of your commands by placing them inside a job sequence and executing them...
by Mike
Tue Mar 01, 2016 5:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage len function
Replies: 7
Views: 4317

Also consider what NLS character set is used.

Are all characters a fixed number of bytes?

I believe the Len() function will be counting bytes rather than characters.

Mike
by Mike
Wed Feb 17, 2016 1:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generating Surrogate Key in one Transformer
Replies: 3
Views: 3010

You can use NextSurrogateKey() as many times as you'd like in a single transformer.

But you can only define a single surrogate key state file per transformer.

Mike
by Mike
Mon Feb 15, 2016 8:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Asterisk characters in Dataset date field
Replies: 3
Views: 2301

You've written something that is not a valid date into a date field in your dataset.

You need to look upstream from the dataset to determine where the invalid date originates.

Mike
by Mike
Sat Jan 16, 2016 8:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Eliminate warnings on empty lookup
Replies: 6
Views: 3234

My current project is not on the latest 11.x fix pack, so maybe that issue has been fixed.

Mike
by Mike
Thu Jan 14, 2016 8:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Eliminate warnings on empty lookup
Replies: 6
Views: 3234

Actually, I've seen the warning Joshi is referencing several times on my current version 11.3 project... it might be new behavior since I don't ever remember encountering that before. Your options are to include an extra dummy record in the reference input that will never match anything or use a mes...
by Mike
Thu Jan 14, 2016 8:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Capture stage with duplicate after link
Replies: 3
Views: 1975

Change capture stage needs unique keys on both inputs. As noted by qt_ky, it is a simple 2-file match process on ordered inputs... once a record is consumed on an input it is no longer available for the next key comparison.

Mike
by Mike
Wed Nov 25, 2015 7:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: decimal_from_string warning for same data length
Replies: 9
Views: 7379

StringToDecimal is an explicit type conversion function for the transformer stage, so it won't generate a warning in going from varchar(10) to decimal(10,0) if your source string is nothing but numeric digits. Did you isolate a specific example row that causes a warning? Using NOWARN is likely maski...