Search found 53125 matches

by ray.wurlod
Thu Aug 14, 2008 6:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: converting timestamp to date format
Replies: 6
Views: 6464

Code: Select all

Oconv(Iconv(Field(DSLink2.Field1," ",1,1),"DYMD"),"DQ")


Or, if you want an ISO 8601 "quarter tag" format (YYYYQn):

Code: Select all

QUARTER.TAG(Iconv(Field(DSLink2.Field1," ",1,1),"DYMD"))
by ray.wurlod
Thu Aug 14, 2008 4:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Peformance Improvement issue
Replies: 8
Views: 2160

Set the system clock back a bit while the job is running. The reported elapsed time will then be less. Are you monitoring your system? Is it bottlenecking on any of the main four resources (CPU, memory, I/O throughput, disk space)? If so, monitor the resource usage of the various operators. Use Data...
by ray.wurlod
Thu Aug 14, 2008 4:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sub routine
Replies: 3
Views: 1003

You never create a routine in a parallel job. Therefore there is no procedure for doing so.

You create routines external to DataStage, you register them in DataStage repository, and you call them from your DataStage jobs.
by ray.wurlod
Thu Aug 14, 2008 4:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel Jobs Compilation problem
Replies: 7
Views: 2340

"Seems", eh? Clearly something isn't right, and I'd be looking either at the uninstall process (did you clear registry keys?) or the compiler environment variables APT_COMPILER etc.
by ray.wurlod
Thu Aug 14, 2008 4:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify v/s Transformer - Some Statistics
Replies: 6
Views: 1535

No. In some cases this is true, in some cases it is not. It depends on what, and how much of it, you're doing. One integer and one string is not what I would describe as "a range of data". What about the other data types? What about large numbers of columns? There are some things that a Modify stage...
by ray.wurlod
Thu Aug 14, 2008 4:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Parameters
Replies: 8
Views: 1530

You're both right.
The slash is necessary to construct the pathname, and job parameter names can not include spaces.
So it's #p_FoldName#/#p_File# not #p_FoldName#/#p_File #
by ray.wurlod
Thu Aug 14, 2008 2:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify v/s Transformer - Some Statistics
Replies: 6
Views: 1535

Transformer (these days) executes a compiled operator. Modify uses what is effectively an interpreted operator.
by ray.wurlod
Thu Aug 14, 2008 2:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sub routine
Replies: 3
Views: 1003

Search

This question has been answered quite fully quite recently.

Is this an interview question?
by ray.wurlod
Thu Aug 14, 2008 2:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Peformance Improvement issue
Replies: 8
Views: 2160

How many nodes in your configuration file? How many CPUs/cores in your machine?
by ray.wurlod
Thu Aug 14, 2008 2:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel Jobs Compilation problem
Replies: 7
Views: 2340

Welcome aboard. This suggests that there is a problem with your .NET C++ compiler - not installed, wrong compiler installed, location of compiler not correctly specified in DataStage environment variables are some of the possibilities.
by ray.wurlod
Thu Aug 14, 2008 2:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to capture duplicate rows separetly in datastage
Replies: 7
Views: 14680

Sai, please elaborate on "put a filter in the Aggregator". I do not know how to do this, and would like to learn.
by ray.wurlod
Thu Aug 14, 2008 12:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to capture duplicate rows separetly in datastage
Replies: 7
Views: 14680

Fork your data stream into two using a Copy stage. Run one stream through an Aggregator that counts the number of rows for each combination of the duplicate-defining keys. Join the two streams (you now have detail row plus count). Using another Copy stage split the stream into two again. Run one str...
by ray.wurlod
Thu Aug 14, 2008 12:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading from sequential file
Replies: 4
Views: 1230

Import the table definition for the Sequential file. Check the "fixed-width format" and specify the column widths in the field provided, or in the Columns grid (as Display Width) on the Define tab. Use this table definition in your job. To retrofit the same, you need to alter the display width prope...
by ray.wurlod
Thu Aug 14, 2008 12:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error while mapping seq file to DB2 database thru transforme
Replies: 3
Views: 995

There seems to be a newline or dynamic array delimiter character in your data value.
by ray.wurlod
Thu Aug 14, 2008 12:18 am
Forum: Data Quality Best Practices
Topic: Case Conversion
Replies: 3
Views: 8886

It's as simple or as complex as you need it to be - they're your business rules after all. If they are quite complex you might consider custom code, either in a Build stage or in a routine. Or a heap of stage variables in a Transformer stage handling the variations.