getting error when compiling the Datastage job

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
pavankatra
Participant
Posts: 86
Joined: Wed Mar 03, 2010 3:09 am

getting error when compiling the Datastage job

Post by pavankatra »

Hi ,
I am getting below error when compiling the Datastage job.
Can anyone help me to sortout the issue.below is the error for your reference.

Thanks in advance

Output from transformer compilation follows:
##I IIS-DSEE-TFCN-00001 00:24:28(000) <main_program>
IBM WebSphere DataStage Enterprise Edition 8.1.0.5447
Copyright (c) 2001, 2005-2008 IBM Corporation. All rights reserved
##I IIS-DSEE-TFCN-00006 00:24:28(001) <main_program> conductor uname: -s=Linux; -r=2.6.18-164.el5; -v=#1 SMP Tue Aug 18 15:51:48 EDT 2009; -n=vwc-1dwisap01; -m=x86_64
##I IIS-DSEE-TOSH-00002 00:24:28(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 00:24:28(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 00:24:28(004) <main_program> orchstats: loaded
##W IIS-DSEE-TOSH-00049 00:24:28(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 00:24:29(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256.
##E IIS-DSEE-TFSR-00019 00:24:29(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 00:24:29(002) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##W IIS-DSEE-TBLD-00000 00:24:29(003) <main_program> Error when checking composite operator: Output from subprocess: /
##W IIS-DSEE-TBLD-00000 00:24:29(004) <main_program> Error when checking composite operator: Output from subprocess: usr/bin/ld: skipping incompatible /opt/IBM/InformationServer/Server/PXEngine/lib/liborchi686.so when searching for -lorchi686
/usr/bin/ld: cannot find -lorchi686
collect2:
##I IIS-DSEE-TBLD-00079 00:24:29(005) <transform> Error when checking composite operator: g++ -L/opt/IBM/InformationServer/Server/Projects/Divestco_RMA_PermitsETL/RT_BP21.O/ -L/opt/IBM/InformationServer/Server/PXEngine/lib -L/opt/IBM/InformationServer/Server/PXEngine/user_lib -shared -Wl,-Bsymbolic,--allow-shlib-undefined -lorchi686 -lorchcorei686 -lorchbuildopi686 /opt/IBM/InformationServer/Server/Projects/Divestco_RMA_PermitsETL/RT_BP21.O/V0S1_test_rg_Transformer_1.tmp.o -o /opt/IBM/InformationServer/Server/Projects/Divestco_RMA_PermitsETL/RT_BP21.O/V0S1_test_rg_Transformer_1.so.
##W IIS-DSEE-TBLD-00000 00:24:29(006) <main_program> Error when checking composite operator: Output from subprocess: ld returned 1 exit status
##E IIS-DSEE-TCOS-00029 00:24:29(007) <main_program> Creation of a step finished with status = FAILED. (test_rg.Transformer_1)
*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S1_test_rg_Transformer_1 transform operator.
0003: //
0004:
0005: // define our input/output link names
0006: inputname 0 DSLink3;
0007: outputname 0 DSLink4;
0008:
0009: initialize {
0010: // define our row rejected variable
0011: int8 RowRejected0;
0012:
0013: // define our null set variable
0014: int8 NullSetVar0;
0015:
0016: }
0017:
0018: mainloop {
0019: // initialise our row rejected variable
0020: RowRejected0 = 1;
0021:
0022: // evaluate columns (no constraints) for link: DSLink4
0023: writerecord 0;
0024: RowRejected0 = 0;
0025: }
0026:
0027: finish {
0028: }
0029:
*** End of Internal Generated Transformer Code
gssr
Participant
Posts: 243
Joined: Fri Jan 09, 2009 12:51 am
Location: India

Post by gssr »

Are you using TRANSFOREMER in the job??

Compiler path may not be properly defined.To verify this, create a job without transformer and test it. If it compiles, fix the c++ compiler issue
RAJ
pavankatra
Participant
Posts: 86
Joined: Wed Mar 03, 2010 3:09 am

Post by pavankatra »

gssr wrote:Are you using TRANSFOREMER in the job??

Compiler path may not be properly defined.To verify this, create a job without transformer and test it. If it compiles, fix the c++ compiler issue
Thanks for your reply.
i Have tested,without transformer its working fine.I am facing this problem with transformer.So could you please let em know how to fix it.


Thanks
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Is this your first job with a transformer it in ? Is this a new installation ?

Then it implies that you have not installed or configured your C++ compiler.
pavankatra
Participant
Posts: 86
Joined: Wed Mar 03, 2010 3:09 am

Post by pavankatra »

Sainath.Srinivasan wrote:Is this your first job with a transformer it in ? Is this a new installation ?

Then it implies that you have not installed or configured your C++ compiler. ...
thanks sainath,
yes its new instalation,earlier the code was in windows.now moved to linux server.by default linux having c++ ,
i think it will support,
if not please correct me how to do the configuration


thanks in advance
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

If I remember correctly, you need to install gc++ compiler in Linux. That is the one supported by IBM InfoSphere.

Also ensure that the version of the compiler is compatible with your DataStage installation.
stuartjvnorton
Participant
Posts: 527
Joined: Thu Apr 19, 2007 1:25 am
Location: Melbourne

Post by stuartjvnorton »

Hey all,

I'm getting the same issue, but one thing I have noticed is that when I create a Server job using a Transformer, it compiles fine. I only get this when I try to use one on a Parallel job.

Does this shed any light on the problem?
I have tried putting the -m32 into the compile options. Made no difference.

Cheers,
Stuart.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No. Only the parallel Transformer stage requires the C++ compiler. The server Transformer stage (and the BASIC Transformer stage) compile within the DataStage server engine environment.

It is vital that the four environment variables APT_COMPILER, APT_COMPILE_OPTIONS, APT_LINKER and APT_LINKER_OPTIONS are correctly set, as well as only the officially supported compiler being used.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rjhcc
Premium Member
Premium Member
Posts: 34
Joined: Thu Jan 27, 2005 4:20 pm

Compiler error using DS8.5/SRVER 2003: Using VSudio 10

Post by rjhcc »

I've had to install 8.5 on Win Srvr 2003 R2. All tests show install and security to be ok, but I get the error below when trying to compile a PX job cointaining a transfromer. I've done the test with a server job and everything is fine. I know this is related to compiler, which is from V STUDIO 10. I've even created a project in VS 10 and tested the compiler itself and it shows ok. It seems to only have problem in DS.

I've done all of the recommneded settings in DS for compiler access the PX engine and I can't get it to run. Can anyone PLEASE HELP!

Here is message....

Output from transformer compilation follows:

##I IIS-DSEE-TFCN-00001 16:12:07(000) <main_program>
IBM WebSphere DataStage Enterprise Edition 8.5.0.5746
Copyright (c) 2001, 2005-2008 IBM Corporation. All rights reserved



##I IIS-DSEE-TFCN-00006 16:12:07(001) <main_program> conductor uname: -s=Windows_NT; -r=2; -v=5; -n=WINSRVR; -m=Pentium
##I IIS-DSEE-TOSH-00002 16:12:07(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 16:12:07(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 16:12:07(004) <main_program> orchstats: loaded
##W IIS-DSEE-TOSH-00049 16:12:07(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 16:12:07(009) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256.
##E IIS-DSEE-TFSR-00019 16:12:07(010) <main_program> Could not check all operators because of previous error(s)
##I IIS-DSEE-TBLD-00079 16:12:07(011) <transform> Error when checking composite operator: cxx -O -IC:/IBM/InformationServer/Server/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t- C:/IBM/InformationServer/Server/Projects/myproj1/RT_BP2.O/V0S2_Untitled2_Transformer_2.C -o C:/IBM/InformationServer/Server/Projects/myproj1/RT_BP2.O/V0S2_Untitled2_Transformer_2.tmp.o.
##I IIS-DSEE-TBLD-00000 16:12:07(012) <main_program> Error when checking composite operator: Output from subprocess: Compiler "cl" not found.

##E IIS-DSEE-TCOS-00029 16:12:07(013) <main_program> Creation of a step finished with status = FAILED. (Untitled2.Transformer_2)
rjhcc
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You have to install the correct C++ compiler before you install Information Server.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
srividya
Participant
Posts: 62
Joined: Thu Aug 25, 2005 2:31 am
Location: Ashburn,VA

Post by srividya »

uhho .. i am on the same boat, I have installed the Information server, as we still haven't got the licences for the C++ compiler (we were over excited to install the tool :oops: )

when we had a similar problem on 7.5 we changed the default path for parameter - APT_COMPILER to the local point where the compiler was installed and everything worked fine. Any remote chance this is possible on 8.x?
kalyhot
Participant
Posts: 7
Joined: Tue Jun 02, 2020 12:14 pm

Re: getting error when compiling the Datastage job

Post by kalyhot »

pavankatra wrote:Hi ,
I am getting below error when compiling the Datastage job.
Can anyone help me to sortout the issue.below is the error for your reference.

Thanks in advance

Output from transformer compilation follows:
##I IIS-DSEE-TFCN-00001 00:24:28(000) <main_program>

0028: }
0029:
*** End of Internal Generated Transformer Code
I faced the same issue, you have to install visual C++ 2010 express edition and be sure that this environement variable system is added

var VS100COMNTOOLS

value c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\

for all the verifications must see this
https://www.ibm.com/support/pages/datas ... ndows-2008
kalyhot DS certified 9 Developper
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It doesn't help much, in general, to respond to posts that are ten years old.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply