Sun C++ routine Orchestrate Error Message
Posted: Fri Sep 05, 2008 4:31 pm
Hi,
Just running a test routine to see if I can get C++ routines working on our Hawk install. Does anyone have a Sun c++ sample routine that works?
this was the c++ routine:
#include "string.h"
#include "stdio.h"
#include "stdlib.h"
// declares this as a integer routine
int xretstr(int argIN){
int xyz;
xyz = argIN +1;
return xyz; }
this was how the routine was compiled:
/xxxx/bin/CC -O -c xretint.cc -o xretint
this was the error message from the compile
Output from transformer compilation follows:
##I IIS-DSEE-TFCN-00001 17:27:35(000) <main_program>
IBM WebSphere DataStage Enterprise Edition 8.0.1.4665
Copyright (c) 2001, 2005-2007 IBM Corporation. All rights reserved
##I IIS-DSEE-TUTL-00031 17:27:35(001) <main_program> The open files limit is 100; raising to 65536.
##I IIS-DSEE-TOSH-00002 17:27:35(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 17:27:35(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 17:27:35(004) <main_program> orchstats: loaded
##W IIS-DSEE-TOSH-00049 17:27:35(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 17:27:41(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256.
##E IIS-DSEE-TFSR-00019 17:27:41(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 17:27:41(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 17:27:41(003) <main_program> Error when checking composite operator: Output from subprocess: ld: fatal: file /opt/IBM/dsadm/xtest.o: open failed: No such file or directory
ld: fatal: File processing errors. No output written to /opt/IBM/data/projects/testinstall/RT_BP16.O/V0S1_testxxx7_Transformer_1.so
##I IIS-DSEE-TBLD-00079 17:27:41(004) <transform> Error when checking composite operator: /opt/SUNWspro/bin/CC -L/opt/IBM/data/projects/testinstall/RT_BP16.O/ -L/opt/IBM/InformationServer/Server/PXEngine/lib -L/opt/IBM/InformationServer/Server/PXEngine/user_lib -G -library=iostream -lorchsun4 -lorchcoresun4 -lorchbuildopsun4 /opt/IBM/dsadm/xtest.o /opt/IBM/data/projects/testinstall/RT_BP16.O/V0S1_testxxx7_Transformer_1.tmp.o -o /opt/IBM/data/projects/testinstall/RT_BP16.O/V0S1_testxxx7_Transformer_1.so.
##E IIS-DSEE-TCOS-00029 17:27:41(005) <main_program> Creation of a step finished with status = FAILED. (testxxx7.Transformer_1)
*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S1_testxxx7_Transformer_1 transform operator.
0003: //
0004:
0005: // define external functions used
0006: extern int32 xretint(int32 argIN);
0007:
0008: // define our input/output link names
0009: inputname 0 DSLink3;
0010: outputname 0 DSLink4;
0011:
0012: initialize {
0013: // define our row rejected variable
0014: int8 RowRejected0;
0015:
0016: // define our null set variable
0017: int8 NullSetVar0;
0018:
0019: }
0020:
0021: mainloop {
0022: // initialise our row rejected variable
0023: RowRejected0 = 1;
0024:
0025: // evaluate columns (no constraints) for link: DSLink4
0026: DSLink4.x2 = xretint(DSLink3.x1);
0027: writerecord 0;
0028: RowRejected0 = 0;
0029: }
0030:
0031: finish {
0032: }
0033:
*** End of Internal Generated Transformer Code
Just running a test routine to see if I can get C++ routines working on our Hawk install. Does anyone have a Sun c++ sample routine that works?
this was the c++ routine:
#include "string.h"
#include "stdio.h"
#include "stdlib.h"
// declares this as a integer routine
int xretstr(int argIN){
int xyz;
xyz = argIN +1;
return xyz; }
this was how the routine was compiled:
/xxxx/bin/CC -O -c xretint.cc -o xretint
this was the error message from the compile
Output from transformer compilation follows:
##I IIS-DSEE-TFCN-00001 17:27:35(000) <main_program>
IBM WebSphere DataStage Enterprise Edition 8.0.1.4665
Copyright (c) 2001, 2005-2007 IBM Corporation. All rights reserved
##I IIS-DSEE-TUTL-00031 17:27:35(001) <main_program> The open files limit is 100; raising to 65536.
##I IIS-DSEE-TOSH-00002 17:27:35(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 17:27:35(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 17:27:35(004) <main_program> orchstats: loaded
##W IIS-DSEE-TOSH-00049 17:27:35(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 17:27:41(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256.
##E IIS-DSEE-TFSR-00019 17:27:41(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 17:27:41(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 17:27:41(003) <main_program> Error when checking composite operator: Output from subprocess: ld: fatal: file /opt/IBM/dsadm/xtest.o: open failed: No such file or directory
ld: fatal: File processing errors. No output written to /opt/IBM/data/projects/testinstall/RT_BP16.O/V0S1_testxxx7_Transformer_1.so
##I IIS-DSEE-TBLD-00079 17:27:41(004) <transform> Error when checking composite operator: /opt/SUNWspro/bin/CC -L/opt/IBM/data/projects/testinstall/RT_BP16.O/ -L/opt/IBM/InformationServer/Server/PXEngine/lib -L/opt/IBM/InformationServer/Server/PXEngine/user_lib -G -library=iostream -lorchsun4 -lorchcoresun4 -lorchbuildopsun4 /opt/IBM/dsadm/xtest.o /opt/IBM/data/projects/testinstall/RT_BP16.O/V0S1_testxxx7_Transformer_1.tmp.o -o /opt/IBM/data/projects/testinstall/RT_BP16.O/V0S1_testxxx7_Transformer_1.so.
##E IIS-DSEE-TCOS-00029 17:27:41(005) <main_program> Creation of a step finished with status = FAILED. (testxxx7.Transformer_1)
*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S1_testxxx7_Transformer_1 transform operator.
0003: //
0004:
0005: // define external functions used
0006: extern int32 xretint(int32 argIN);
0007:
0008: // define our input/output link names
0009: inputname 0 DSLink3;
0010: outputname 0 DSLink4;
0011:
0012: initialize {
0013: // define our row rejected variable
0014: int8 RowRejected0;
0015:
0016: // define our null set variable
0017: int8 NullSetVar0;
0018:
0019: }
0020:
0021: mainloop {
0022: // initialise our row rejected variable
0023: RowRejected0 = 1;
0024:
0025: // evaluate columns (no constraints) for link: DSLink4
0026: DSLink4.x2 = xretint(DSLink3.x1);
0027: writerecord 0;
0028: RowRejected0 = 0;
0029: }
0030:
0031: finish {
0032: }
0033:
*** End of Internal Generated Transformer Code