Search found 42189 matches

by chulett
Sat Jun 09, 2007 11:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reporting Discarded records in a flat file
Replies: 11
Views: 3184

I never use those 'discard' options but I would think a reject link would work for you. Create one to a flat file from your transformer and in the constraint mark it as a Reject Row. Basically, anything that doesn't go out to your target will instead go down that link. Make sure it shows as the last...
by chulett
Sat Jun 09, 2007 11:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to add one year to a given date
Replies: 13
Views: 3302

So... you just want to add 365 days to the date? Is that what this boils down to? :?

Use IConv to convert the date to internal format, add 365 and then convert back to your external format with OConv.
by chulett
Sat Jun 09, 2007 10:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to add one year to a given date
Replies: 13
Views: 3302

No. You'd need to have a clear understanding what precisely 'adding a year' to any given date means and then write your own. You'd also need to know what kind of dates you need to handle - any format? One particular format? What format do you return the result in? Things to think about. If it is as ...
by chulett
Sat Jun 09, 2007 7:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 failing due to SQL0437W warning
Replies: 3
Views: 3558

There's practically always a way. Sometimes all it takes is another set of eyes. And no, I don't believe there is any way to disable warnings, hence my advice to eliminate them instead. If that's incorrect, I'm sure someone more DB2 savvy will be along eventually to correct me. Worst case you could ...
by chulett
Sat Jun 09, 2007 7:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 failing due to SQL0437W warning
Replies: 3
Views: 3558

Take the query to whatever you have in the way of a 'tuning' resource - your DBAs perhaps? Restructure the query so that it is more... 'optimal', meaning that it would stop throwing that 'Hey, this may be sub-optimal!' warning. DataStage is not your command editor, it actually checks and reports war...
by chulett
Sat Jun 09, 2007 7:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a better way to handle nulls ???
Replies: 9
Views: 1869

Well... yes, you have to determine which fields need to have null handling. Note that that is a blanket statement regardless of source or situation - one of your jobs as a developer is to determine if nulls will wreak havoc on your process and handle them properly. Always. While we'd all love to hav...
by chulett
Sat Jun 09, 2007 7:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reporting Discarded records in a flat file
Replies: 11
Views: 3184

Slide your Columns tab over to the right and investigate the 'Incomplete Column' option. This will allow you to read the file and properly treat the new line as data.
by chulett
Sat Jun 09, 2007 7:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to improve performance of job(having one insert and one
Replies: 6
Views: 1901

We know all kinds of things that may be different. The hope here is that Rakesh puts some effort into determining what is different betweeen his environments. This is not something we can do for him other than to guide. However, if causes can be determined we can help with the resolution. And if a c...
by chulett
Fri Jun 08, 2007 6:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: .dsk strucutre for routines
Replies: 6
Views: 1492

Was that for my benefit? That aspect of the issue was resolved in the linked post. Read the original post in this thread again: I have written a routine to get the row count of a link, it works fine in some places, in sequencer(trigger column) some places it wont. It's not that it doesn't work at al...
by chulett
Fri Jun 08, 2007 4:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: .dsk strucutre for routines
Replies: 6
Views: 1492

What changes are to be made to what precisely? :?

You should call your routine using the Routine Activity stage and then check the $ReturnValue of that in your trigger expressions.
by chulett
Fri Jun 08, 2007 4:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is the difference between DataStage 7.5.2 and 7.5.0.1
Replies: 8
Views: 1705

And (as noted) in the multiserv.pdf document. :wink:
by chulett
Fri Jun 08, 2007 4:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Tivoli Schedule
Replies: 9
Views: 5791

You must be using -jobstatus with your dsjob command, that's what tells it you want an exit code of 1 for OK, 2 for Warnings, etc. You could use -wait instead in the dsjob call for more traditional exit code handling. Simplest answer is to tell Tivoli what is a good exit status and what is a bad one...
by chulett
Fri Jun 08, 2007 3:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Bulk Loader
Replies: 1
Views: 662

You can't. Use a normal OCI stage - first in the Link Order and constrained by @FALSE so it receives no rows but just performs the truncate before the BL stage starts.
by chulett
Fri Jun 08, 2007 2:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transformer with a flow condition
Replies: 6
Views: 1547

Two fields in the hashed file, a 'hard-coded' key value (say "X") and your count as data. Then perform the lookup using "X" and your constraint can check if the data value returned is zero or not.
by chulett
Fri Jun 08, 2007 1:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: split record to multiple based on the counter
Replies: 4
Views: 1299

No, the Pivot stage is columns to rows.