DataStage: 64bit version of DataStage with 64bit Oracle Database on Windows

If you are trying to connect DataStage 64bit on Windows to Oracle Database 64bit you probably get error message like this:

I assume that you have done all prerequisites like set up the environment variables etc. More about prerequisites for Oracle connector in DataStage V11.3 you can find here http://ibm.co/1mu4WGo This error message you… Read More »

Datastage: APT_Communicator::connectTo: connect() failed due to Unix error = 10,061

If you are getting the error message while running the job:

You have to follow these steps to fix the issue: You must ensure that you have in hosts file these two entries

Next step is try if this commands working fine

Set the parameter $APT_USE_IPV4 in DataStage project to True (1) Open… Read More »

How to convert hexadecimal number to IP address in C++

When you need to convert hexadecimal number in C++ like 0DF52286 to standard IP address format like 13.245.34.134 you can use this code:

The method takes one argument which is the IP address in hexadecimal format.

Datastage error: Field “NAME” has keyprep export buffer overrun error

While running a job, you getting following error:

This error happens during processing data in Lookup stage and  the solution of this error is very simple. Check the key attributes in the lookup stage and ensure that all attributes have same type and length (check the extended parameter too).

How to cleanup old Datasets in DataStage automatically

This is a procedure useful not only for DataStage environment. Often you need to delete old logs periodically in order to save disk space. But especially in DataStage, which lacks automatic datasets cleanup is handy to delete old datasets. These may originate from your DataStage Dataset stages, or as a temporary resource from Lookup stage… Read More »