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

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
atul9806
Participant
Posts: 96
Joined: Tue Mar 06, 2012 6:12 am
Location: Pune
Contact:

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

Post 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 ?
~Atul Singh
<a href=http://www.datagenx.net>DataGenX</a> | <a href=https://www.linkedin.com/in/atulsinghds>LinkedIn</a>
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post 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.
atul9806
Participant
Posts: 96
Joined: Tue Mar 06, 2012 6:12 am
Location: Pune
Contact:

Post by atul9806 »

Seems need to do the same. Between anyone else want to share something on this.
~Atul Singh
<a href=http://www.datagenx.net>DataGenX</a> | <a href=https://www.linkedin.com/in/atulsinghds>LinkedIn</a>
rschirm
Premium Member
Premium Member
Posts: 27
Joined: Fri Dec 13, 2002 2:53 pm

Post 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.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Thanks Rick - it sounds easier than I thought.
chandu123
Premium Member
Premium Member
Posts: 40
Joined: Mon Sep 12, 2016 1:26 pm

Post 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"
HB
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post 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)?
Post Reply