Search found 4605 matches

by kduke
Tue Oct 04, 2005 4:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating folders dynamically on Unix via DataStage
Replies: 10
Views: 5853

This was posted in my user group: * ------------------------------------------------------------ * KgdMakeDir(DirName) * Decription: This routine will make all the dirs in DirName * Written by: Kim Duke * Notes: * ------------------------------------------------------------ * $INCLUDE DSINCL...
by kduke
Tue Oct 04, 2005 6:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing Routines
Replies: 4
Views: 1067

I learn from examples. That is why I looked at the SDK. It is also why I post code all the time. There are lots of routines for free on my tips page. Look through these and try to figure out what they do. Ask when something does not make sense.
by kduke
Tue Oct 04, 2005 6:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Email Notification activity
Replies: 9
Views: 2580

I posted a routine which can be used as a routine activity. Any routine activity can take parameters.
by kduke
Tue Oct 04, 2005 6:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Changing column positions
Replies: 4
Views: 1020

If you are using column generated or fully generated then the columns can be in any order. I have a routine which will sort the column names in DS_METADATA. I am looking for it now. When I find it then I will post it if you ask for it. I thought I already had. Updating DS_METADATA and other IBM hash...
by kduke
Tue Oct 04, 2005 6:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abnormal Termination-add_to_heap() Unable to allocate memory
Replies: 10
Views: 4027

That is really odd. You fixed it in DEV and TEST but not PROD? Did you change your Oracle client? If you did then I would suggest that you have different versions on the different machines. Maybe you have a memory leak in your Oracle client.
by kduke
Tue Oct 04, 2005 6:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Delimited, missing column, quote " char
Replies: 1
Views: 658

The FAQ are a lot of work to put together. In this case there are too many answers to pull it together into one FAQ.
by kduke
Tue Oct 04, 2005 6:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: If..Else if...else
Replies: 5
Views: 1184

I prefer making each if then a complete statement:

Code: Select all

If (sv1 AND sv2) Then 1 Else "" : (If (sv1 AND NOT(sv2)) Then 0 Else 1)
by kduke
Mon Oct 03, 2005 7:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: List jobs referencing table
Replies: 4
Views: 1074

Get an evaluation copy of DwNav from my web site. That is what it was designed for besides a few more things. It will generate similar documentation plus document all jobs and routines in a project. It can now save any report as a html document. What else do you need. There are also other free solut...
by kduke
Mon Oct 03, 2005 7:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to clear up job instances' log more quickly
Replies: 7
Views: 3572

If you do that then you need to recompile the job. I am sure Ray will give us the full Wurlod. If you look at the IDs in the RT_STATUS file then you can tell what is a instance id. If you delete those records then you need to disconnect from the project and reconnect to refresh this list. I think th...
by kduke
Mon Oct 03, 2005 6:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File corruption in UV_SCHEMA file/table
Replies: 8
Views: 2342

Arnd

Create the projects on another box and copy the file at the OS level. I would just create one or two projects then copy this file to another file name. Fix the VOC to point to this copy. Update it. Copy to the other machine.
by kduke
Mon Oct 03, 2005 6:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abnormal Termination-add_to_heap() Unable to allocate memory
Replies: 10
Views: 4027

If your hash file is over 2GB then you need to add the 64bit option. Look at the OS level and add the sizes of DATA.30 and OVER.30. I wouild say make it 64 bit no matter what. This is a large hash file and why worry about it. If it does it on all 3 boxes then it has to be too big for 32 bit hash file.
by kduke
Mon Oct 03, 2005 6:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abnormal Termination-add_to_heap() Unable to allocate memory
Replies: 10
Views: 4027

Srikanth What is the size of the file? Usually this is a hash file which is corrupted. This usually happens when you have a system crash or run out of disk space. If your hash file is created in the account then at TCL do DELETE.FILE MyHashFile or CLEAR.FILE MyHashFile If it is a respoitory file lik...
by kduke
Mon Oct 03, 2005 6:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get DS object name
Replies: 3
Views: 1319

The problem that the table name can be all lower case, all upper case or a mixture. You need to change :1 into your table name in upper case. This SQL is a part of EtlStats. It is called DsSearch1.sql. It is executed by job GenHtmlFromSqlDriver. Put your tablename in parameter named Replacements. It...
by kduke
Mon Oct 03, 2005 5:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job paramater - how to manage list
Replies: 4
Views: 1235

If a parameter is a list type and not a string or some other type then this is used as a drop down list to start a job. I do not think all these values are available at run time. Only one value is active. Arnd's code would work if all these values were available. You might be able to use something t...
by kduke
Mon Oct 03, 2005 4:30 am
Forum: Site/Forum
Topic: See your private messages
Replies: 0
Views: 3724

See your private messages

Web master

It would be nice to see my responses after I send a private message. Unless they quote it back to you it is hard to remember what you said. Maybe because I am too old but still it would help.