Search found 1015 matches

by Mike
Fri Nov 20, 2015 4:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: decimal_from_string warning for same data length
Replies: 9
Views: 7393

I'm going to guess that you're doing a default implicit conversion. Implicit conversions will frequently generate a warning message (harmless and preventable). Using an explicit conversion will usually eliminate the warning.

Please post your transformer expression.

Mike
by Mike
Thu Nov 19, 2015 3:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Running job with multiple parameters
Replies: 8
Views: 9866

No bug. Just standard parameter behavior. A job resolves its parameter values when it starts. Changes to parameter values after a job starts won't be recognized. In your case, the job sequence read the values file when it started executing. Any changes that were made to the values file after that wo...
by Mike
Thu Nov 05, 2015 5:13 pm
Forum: General
Topic: Sequencer design
Replies: 5
Views: 3545

Kind of a waste to create and wait for a dummy file... and I suppose you need to clean up that dummy file before your next cycle. A simpler design is to have the executed command write the row count to stdout and then put a Nested Condition activity after it to direct flow based on the row count in ...
by Mike
Mon Oct 05, 2015 6:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: special characters length truncation
Replies: 3
Views: 3038

Define your column as NVarchar(10) or use an unbounded Varchar. The length for VarChar specifies maximum number of bytes. The length of NVarchar specifies maximum number of characters. UTF-8 characterset has variable-length characters... so 10 characters can exceed 10 bytes. I prefer unbounded Varch...
by Mike
Fri Oct 02, 2015 4:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Varchar to decimal transformation in generic RCP job
Replies: 7
Views: 4155

Create yourself a little utility using your favorite tool ksh, perl, server job, parallel job, BASIC routine, or whatever. Your utility will read through the schema file looking for decimal columns and generate all of modify specifications that you need. Then just pass all of the modify specificatio...
by Mike
Fri Oct 02, 2015 4:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading multiple files with same metadata from a list
Replies: 16
Views: 16728

The default read method in the sequential file stage is "Specific File(s)". You can specify more than 1 file if you like. You'll have to experiment to see how you need to delimit the file list and whether there is a max size on that property. Craig never forgets anything, so I had some dou...
by Mike
Wed Sep 09, 2015 4:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup stage Windows vs Linux
Replies: 15
Views: 8295

How much physical memory did you have for Linux vs. what you have now on Windows? And is the concurrent workload about the same on the 2 servers? The same article that you found indicates that the memory allocated to the lookup needs to be contiguous. Perhaps Windows is unable to deliver as much con...
by Mike
Sat Sep 05, 2015 11:04 am
Forum: General
Topic: How to find out total number jobs from the project
Replies: 3
Views: 2328

If you have read access to XMETA, here is some SQL that I've used in the past: SELECT J.DSNAMESPACE_XMETA AS PROJECT_NAME, J.DSJOBTYPE_XMETA AS JOB_TYPE, COUNT(*) AS CNT FROM XMETA.DATASTAGEX_XMETAGEN_DSJOBDEFC2E76D84 J GROUP BY J.DSNAMESPACE_XMETA, J.DSJOBTYPE_XMETA ORDER BY 1, 2 Mike
by Mike
Fri Aug 14, 2015 1:34 pm
Forum: General
Topic: Missing Jobs from Director
Replies: 7
Views: 5517

As qt_ ky suggests, try SyncProject.

It appears to me that the tree in Designer gets populated from the local repository; while the Director tree appears to get populated from XMETA.

The 2 repositories are probably out of sync.

Mike
by Mike
Thu Jul 09, 2015 2:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RCP - CDC Stage - Partitoning and Sorting
Replies: 17
Views: 10579

Nice job so far Koti. I tend to like using parameter set values files to support my generic multi-instance RCP jobs since it provides a nice container for organizing everything that needs parameterizing. Now you can appreciate the challenge of handling a variable number of keys. And you also have th...
by Mike
Wed Jul 08, 2015 11:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Replace Transformer
Replies: 6
Views: 4202

My Requirement is to replace these many transformers with some other stage to improve performance of my job. That isn't the source to target mapping requirement that your job needs to satisfy. You're so far out in the weeds, I'm not sure how to bring you back in. Nothing you've mentioned so far sug...
by Mike
Wed Jul 08, 2015 8:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Replace Transformer
Replies: 6
Views: 4202

Perhaps you should explain what you're trying to accomplish in your job design. I have no idea what you could possibly be doing with 70 transformer stages. You do understand that a transformer stage works at the record level. You can transform 70 fields in 1 transformer stage (i.e. you don't need 70...
by Mike
Tue Jul 07, 2015 8:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rounding Issue
Replies: 3
Views: 3318

Review the documentation for the Ceil function. It is not a rounding function.

You could try out the DecimalToDecimal function with the round_inf argument.

Mike
by Mike
Thu Jul 02, 2015 2:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RCP - CDC Stage - Partitoning and Sorting
Replies: 17
Views: 10579

That most likely depends on your plan for handling a variable number of key fields. I opted for using a single concatenated key called KEY, so the partitioning and sorting was simply by KEY. I found a generic RCP-enabled shared container to be more useful than a generic RCP-enabled job. Gives you mo...
by Mike
Thu Jul 02, 2015 6:11 am
Forum: General
Topic: The DB2 Library could not be loaded
Replies: 16
Views: 12427

No mistake on your installation. You just haven't done the post installation steps necessary to enable database access from the engine computer. The engine computer is a database client. You will need to install and configure a DB2 client instance to use the DB2 Connector to connect to DB2 databases...