Page 1 of 1

Can we setup a C++ compiler after installation of Datastage

Posted: Sun Jan 18, 2015 11:55 pm
by atul9806
HI Guys,
While installaing DS on WIndows Server 2008, somehow we have missed to install C++ compiler before Datastage installation. We have installed it after the DS installation and setup all the env variables but Datastage did not pick up the C++ compiler. Can we have some tweak regarding this without re-installation of Datastage server ?

Posted: Mon Jan 19, 2015 3:07 am
by ArndW
I've done this in the past as well, at Version 8.x on Windows, and ended up re-installing rather than trying to find all of the places in DataStage which would need to be tweaked.

Posted: Mon Jan 19, 2015 8:58 am
by atul9806
Seems need to do the same. Between anyone else want to share something on this.

Posted: Mon Jan 19, 2015 1:41 pm
by rschirm
You can install the C++ post DS install. But you must get the 2 Environment Variables set correctly.

After you install the c++ compiler there should be a command prompt that you can run that is related to the compiler that you installed. By executing that you can then do a set and retrieve the env variables that are set. Take the INCLUDE and the LIB values and make sure that you have those set in the windows environment settings. Make sure that they are created under System variables and not User variables. Once you have those set I would recommend a reboot and then test the compile of a transformer stage. That should do the trick.

Posted: Tue Jan 20, 2015 3:16 pm
by ArndW
Thanks Rick - it sounds easier than I thought.

Posted: Fri Sep 23, 2016 11:13 am
by chandu123
I am facing compilation error for the Datastage job with transformer stage. Below is the error.

##W IIS-DSEE-TOSH-00049 10:11:31(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TFSR-00019 10:11:31(009) <main_program> Could not check all operators because of previous error(s)

In my case, I installed the Compiler after installing the Infosphere server. I read the post above by rschirm. Can somebody please let me know how to do the below action?

"By executing that you can then do a set and retrieve the env variables that are set. Take the INCLUDE and the LIB values and make sure that you have those set in the windows environment settings. Make sure that they are created under System variables and not User variables"

Posted: Tue Sep 27, 2016 2:45 am
by ArndW
The two messages you posted are effects of the error and not the cause.
can you create a very simple PX job, row generator -> transform -> peek; with just 1 column passed through from the generator to the peek. Then try to compile it and show the complete error message(s)?