Search found 42189 matches

by chulett
Wed Nov 11, 2009 7:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Email Notification Job Run time parameter
Replies: 3
Views: 1626

There is a routine called DSSendMail and another called DSSendMailTester that calls it that will illustrate things for you. Copy and adapt the latter to your need.
by chulett
Wed Nov 11, 2009 7:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generating a DS sequence job
Replies: 12
Views: 5734

Food for thought... I very rarely use sequences except for 'looping' situations, especially for anything approach hundreds or (shudder) thousands of jobs. Many folks out in the wild have developed some kind of 'job control' code, for us we took the complete solution Ken Bland freely offers on his we...
by chulett
Wed Nov 11, 2009 7:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: a complex requirment.
Replies: 9
Views: 1925

Or just include a hard-coded set of fields on the link before the pivot that you've set to the column names and pivot that along with the others.
by chulett
Wed Nov 11, 2009 7:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Email Notification Job Run time parameter
Replies: 3
Views: 1626

The stage does not support parameters in the body other than the handful of error related variables as documented. You'd need to write your own DSSendMail interface routine to make the body truly dynamic.
by chulett
Wed Nov 11, 2009 7:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Stage - Transaction size
Replies: 12
Views: 3665

Not sure how to make it any simpler - where are you issuing this delete? In the target DB2 stage doing the inserts it seems, but where / how ?
by chulett
Wed Nov 11, 2009 7:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Importing dsx using command line
Replies: 3
Views: 4301

That is correct, that command line function will not import the 'design time information' in your version. As to how useful those jobs would be, that is debatable. It used to be the only option and IMHO made supporting versions outside of the dev environment problematical. Stick with the GUI for the...
by chulett
Tue Nov 10, 2009 10:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Stage - Transaction size
Replies: 12
Views: 3665

Yes, but I'm still curious where exactly this delete is being executed.
by chulett
Tue Nov 10, 2009 3:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Log File Path on Windows
Replies: 4
Views: 1651

Meaning it is "hanging"? That can happen when the log contains a bajillion warnings and you may just need to be very patient. Do you want to see what's in it or just empty it?
by chulett
Tue Nov 10, 2009 2:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Log File Path on Windows
Replies: 4
Views: 1651

Any logs or just the log for a particular job? And 'not able to see' means they show as empty or something else? And this is 8.0 or 8.1? For 8.1 you need to look elsewhere, from the console perhaps? :?
by chulett
Tue Nov 10, 2009 1:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: main_program: Internal Error: (0):util/pathutils.C: 403
Replies: 4
Views: 2972

"Too many open files" is a transient resource issue, you could change it back and be fine now, I'd wager... that or just have waited and run it again.
by chulett
Tue Nov 10, 2009 12:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trim Function
Replies: 2
Views: 1116

YourFieldName[1,2000]
by chulett
Tue Nov 10, 2009 11:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to excute .sql FILE FROM Datastage
Replies: 4
Views: 2525

The Stored Procedure stage won't help you here. The Oracle stages support dynamic loading of their SQL from a file, you may be able to use it there if we're talking about a select. Otherwise, you'll need to script a call to your command line utility (like sqlplus for Oracle) and then run that either...
by chulett
Tue Nov 10, 2009 10:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: unable to remove non printable characters
Replies: 10
Views: 8466

No, it only converts to a period. But you can play a game - first convert all periods to an unusual character that won't be in the data, then MCP and then convert the periods back.
by chulett
Tue Nov 10, 2009 10:41 am
Forum: General
Topic: XML file-Oracle clob- Designer internel bug error!
Replies: 3
Views: 2072

The CLOB *is* the issue, they are unsupported in DataStage and I didn't suggest you change anything about the database, just how you treat the CLOB in your job. At worst case CAST it to a varchar in your sql or leverage the DBMS_LOB.SUBSTR function to substring out what you need in chunks. And make ...