Which version of C++ Compiler do I need?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Althaf6553
Participant
Posts: 64
Joined: Wed Sep 26, 2007 6:52 am
Location: Syracuse ,NY

Which version of C++ Compiler do I need?

Post 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!
Althaf
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can find this information on the IBM web site. Most compilers offer a -version option.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Althaf6553
Participant
Posts: 64
Joined: Wed Sep 26, 2007 6:52 am
Location: Syracuse ,NY

Post 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?
Althaf
Althaf6553
Participant
Posts: 64
Joined: Wed Sep 26, 2007 6:52 am
Location: Syracuse ,NY

Post 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!
Althaf
ppgoml
Participant
Posts: 58
Joined: Mon Aug 20, 2007 11:00 pm

Post by ppgoml »

you have compiler runtime installed but you don't have compiler itself installed on your box.
Althaf6553
Participant
Posts: 64
Joined: Wed Sep 26, 2007 6:52 am
Location: Syracuse ,NY

Post by Althaf6553 »

DS 8.5 Compatible version of a compiler was installed and the issue is resolved.

C++ Compiler version compatible was 11.1
Althaf
Post Reply