Configure C++ Compiler Settings for DataStage in Windows

Configure-C++-Compiler-Settings-for-DataStage-in-Windows

We installed DataStage infosphere server in our windows server system with the required details.

Actually we are able to run all the jobs and stages after installation except Transformer stage, even if transformer stage is presented in one od the parallel jobs, that parallel job is not compiling at all.

As you aware already, the DataStage parallel Transformer stage generates C++ code, which is compiled into a parallel component. So this compilation error is due to C++ compiler unavailability in DataStage server.

Configure the C++ Compiler Settings for DataStage in Windows Environment

Follow the below steps to install C++ compiler and configure the settings for compiler.

1) Download the Visual C++ 2008 Express Edition from below sources.

Download from Microsoft site

OR

From Other sources

2) Click on vcsetup.exe.

3) It will open a prompt a window, in that select “Visual C++ 2008 Express Edition”

4) Install it

5) Now open “Computer > Advanced system settings > Advanced Tab > Environment Variables” and add below commands under “System variables” tab.

computer-control-panel-settings

environment-variables-settings-computer

Add the following commands in respective variables.

INCLUDE:

C:\Program Files (x86)\MKS Toolkit\include;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include

environment-variables-include-lib-path

inlcude-commands-settings

LIB:

C:\Program Files (x86)\MKS Toolkit\lib;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib

PATH:

C:\Program Files (x86)\MKS Toolkit\mksnt;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin;C:\PROGRA~2\MKSTOO~1\bin64;C:\PROGRA~2\MKSTOO~1\bin;C:\PROGRA~2\MKSTOO~1\bin\X11;

6)Please change the path according to your Installation and click OK

7)Now open DS administrator select Project > Properties > General > Environment and check these parameters :

We should have properties same as like above that means no change in the default settings.

compiler-options-datastage-admin

8)Save the settings and restart the computer.

9)If everything is okay, C++ compiler setting is done for your system and you are ready to go with compiling of transformer.

Comments

comments

One Response

  1. Sandeep Kumar April 16, 2016

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: