Page 1 of 1

Which version of C++ Compiler do I need?

Posted: Mon Jan 24, 2011 1:14 am
by Althaf6553
How do we know which version of C++ compiler is installed on unix box and also which are the mandated .cpp and runtimes files that are required for datastage to work

For a given AIX 6.1 unix ,Datastage 8.5 supports which version of C++ compiler?

Please help me out in finding answers for these!

Posted: Mon Jan 24, 2011 2:06 am
by ray.wurlod
You can find this information on the IBM web site. Most compilers offer a -version option.

Posted: Mon Jan 24, 2011 3:59 am
by Althaf6553
We have newly installed IBM information server 8.5 on AIX 6.1,but we are
running into issues while we compile jobs having a transformer .
We just wanted to check whether "cpp" compiler and Datastage are compatibale or not.

As per IBM website AIX version 6.1 supports the following compilers

IBM XL C/C++ Enterprise Edition compiler.
XL C/C++ for AIX, V9
XL C/C++ for AIX, V10.1
XL C/C++ for AIX, V11.1

I have ran lslpp command to find out the version on my newly built unix box to get the below result

Code: Select all

$ lslpp -l | grep -i xlc; lslpp -l | grep -i vaclslpp l | grep i xlc
  xlC.aix61.rte             10.1.0.0  COMMITTED  XL C/C++ Runtime for AIX 6.1
  xlC.cpp                    9.0.0.0  COMMITTED  C for AIX Preprocessor
  xlC.msg.en_US.rte         10.1.0.0  COMMITTED  XL C/C++ Runtime
  xlC.rte                   10.1.0.3  COMMITTED  XL C/C++ Runtime
  xlC.sup.aix50.rte          9.0.0.1  COMMITTED  XL C/C++ Runtime for AIX 5.2
.

I have little knowledge on AIX ..Can you please help me figure out whether Datastage 8.5 and the cpp compilers above are compatible or not and would it be the reason for my transformers not to work?

Posted: Mon Jan 24, 2011 4:02 am
by Althaf6553
Adding to this also find the common errors we are getting during compilation

Code: Select all

##W IIS-DSEE-TBLD-00000 10:00:29(004) <main_program> Error when checking composite operator: Output from subprocess: sh: /usr/vacpp/bin/xlC_r:  not found.

##I IIS-DSEE-TBLD-00079 10:00:29(005) <transform> Error when checking composite operator: /usr/vacpp/bin/xlC_r   -O   -I/opt/IBM/websphere/InformationServer/Server/PXEngine/include -O -q64 -c /opt/IBM/websphere/InformationServer/Server/Projects/WAMI-DATA-EXTRACTION/RT_BP183.O/V0S16_CopyOfjbXfm_Pass_Param.C -o /opt/IBM/websphere/InformationServer/Server/Projects/WAMI-DATA-EXTRACTION/RT_BP183.O/V0S16_CopyOfjbXfm_Pass_Param.tmp.o.
##E IIS-DSEE-TCOS-00029 10:00:29(006) <main_program> Creation of a step finished with status = FAILED. (CopyOfjbXfm.Pass_Param)

Please help!

Posted: Mon Jan 24, 2011 8:34 am
by ppgoml
you have compiler runtime installed but you don't have compiler itself installed on your box.

Posted: Fri Feb 04, 2011 12:43 am
by Althaf6553
DS 8.5 Compatible version of a compiler was installed and the issue is resolved.

C++ Compiler version compatible was 11.1