Search found 4992 matches

by kcbland
Tue Oct 25, 2005 8:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Validation
Replies: 2
Views: 1348

I'm confused. Are you writing a Server routine, or PX? You've posted in the PX forum, listed Windows as your OS, but named Server.

Please clarify.
by kcbland
Tue Oct 25, 2005 7:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage job return code(Real urgent friends)
Replies: 6
Views: 3705

Hey, come on now, you should know asking for URGENT response really angers us . If you're paying for URGENT, then we'll respond URGENT. If you want URGENT, then spend 5 minutes searching the forum. Here's a shell script for starting DS jobs posted years ago. m You can spend another 5 minutes reading...
by kcbland
Tue Oct 25, 2005 7:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential File
Replies: 11
Views: 2244

Yeah, well, you've now got a "." in your data. So your issue is high characters, maybe not necessarily a CR/LF, maybe a TAB. You're going to need to write a routine to strip all non-printables and change them to something you desire. If you just want them removed, the CONVERT statement can serve you...
by kcbland
Tue Oct 25, 2005 7:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential File
Replies: 11
Views: 2244

For giggles, put an OCONV(inlink.col, "MCP") derivation on your problematic column to convert all non-printable characters to a ".". That will make sure your issue is not any high-character. Does that change the problem row?
by kcbland
Tue Oct 25, 2005 7:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine Test Data Export
Replies: 1
Views: 456

Never been able to do it. If it's extensive test data you've setup, you could always try to get it out via the .dsx file. If that's not good enough, you can take a stab at writing some DS BASIC and getting the test data out of the DS_ROUTINES internal file.
by kcbland
Tue Oct 25, 2005 7:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create multiple Records from single record
Replies: 16
Views: 4938

And that folks, is why we don't do urgent.
by kcbland
Tue Oct 25, 2005 7:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read caching disabled, file size exceeds cache
Replies: 8
Views: 1873

Re: Read caching disabled, file size exceeds cache

staodsSapCONTRAINFLoadUpd..xfmUpdate: [IBM][CLI Driver][DB2] SQL0973N Not enough storage is available in the "DRDA_HEAP_SZ" heap to process the statement. SQLSTATE=57011 This is an error message from the CLI Driver, indicating that there's no heap space available in the database. Seems like a datab...
by kcbland
Tue Oct 25, 2005 7:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Replace the "bad" data with the '*" c
Replies: 5
Views: 1113

You can always use the CONVERT statement, which is rather cool. It takes a string of characters and changes the each value to a correlated value in another string. Example: CONVERT "ABC" TO "123" IN yourstring This would change all occurrences of "A" to a "1", "B" to a "2", and "...
by kcbland
Mon Oct 24, 2005 10:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Any idea to filter the tables when importing them
Replies: 5
Views: 807

After a nice stroll down memory lane, I didn't find anything back in the early days, plus I check notes from customers I serviced back in the late 90's early 2000 to see if I had anything. The only idea that comes to mind depends on your database and your database skills. If you were on Oracle, I'd ...
by kcbland
Mon Oct 24, 2005 10:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Any idea to filter the tables when importing them
Replies: 5
Views: 807

Thinking back 5 years, I don't remember the ODBC import wizard having the filter on it. It's there under 7.5, but I can't verify from 5.0. The only other method could be under user based permissions on the DB side, but that's kind of messy. Have you searched the forum? The Oliver posts go back a lon...
by kcbland
Mon Oct 24, 2005 9:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI "Rows per transaction" is being overridden
Replies: 3
Views: 745

I read thru the pdf manuals and didn't see anything. This sounds like a bug, because the metadata for the OCI stage link stores this setting, the shared container should have nothing to do with it. If you want to confirm this, explode the shared container in a copy of the job and see if you are now ...
by kcbland
Mon Oct 24, 2005 8:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Binary Data
Replies: 2
Views: 703

The DS BASIC manual available under your Start button is a great place to learn about the functions at your disposal. Removing characters is easy, lookup up CHANGE or EREPLACE or CONVERT to designate characters for removal. To mass-replace unprintable characters (the very high and low range of ASCII...
by kcbland
Mon Oct 24, 2005 7:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while viewing data
Replies: 19
Views: 4595

Can you tnsping the Oracle instance from your DS server? Is Oracle local to your machine? Did you try to import metadata using DS Manager? Did it connect using the sid, userid, and password? When you setup the OCI stage, are your DB Options set correctly? How about Remote Server, did you add it and ...
by kcbland
Mon Oct 24, 2005 12:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: user defined sql not working
Replies: 3
Views: 944

Does that mean that you cannot have more than one user defined sql in datastage I don't believe so. That's what the before/after SQL tabs do on the OCI stages. The SQL statement is not a script, it's a prepared statement like a cursor, which accepts streaming tabular data. Now, I could be wrong, bu...
by kcbland
Mon Oct 24, 2005 12:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling ConvertMonth from within routine.
Replies: 8
Views: 1290

I created a test function with two arguments, put this in it: DEFFUN ConvertMonth(a,b) CALLING 'DSX.CONVERT.MONTH' Ans = ConvertMonth(Arg1,Arg2) I ran the Test button, for Arg1 entered 2005-07 and for Arg2 put an L. I hit Run and got the answer 13727. Give it a try.