Topic
1 reply Latest Post - ‏2012-05-17T13:52:00Z by Caio Rodrigues
Rui Soares
Rui Soares
1 Post
ACCEPTED ANSWER

Pinned topic Error compiling Parallel routine

‏2012-03-08T12:44:07Z |
Whem we compiled the Parallel job, that are using a parallel routine in the transform stage, we are getting the message error:
 
 Output from transformer compilation follows:
##I IIS-DSEE-TFCN-00001 12:08:50(000) <main_program>
IBM WebSphere DataStage Enterprise Edition 8.1.0.5497
Copyright (c) 2001, 2005-2008 IBM Corporation. All rights reserved
 

##I IIS-DSEE-TFCN-00006 12:08:50(001) <main_program> conductor uname: -s=SunOS; -r=5.10; -v=Generic_141414-09; -n=magnolia; -m=sun4u
##I IIS-DSEE-TOSH-00002 12:08:50(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 12:08:50(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 12:08:50(004) <main_program> orchstats: loaded
##W IIS-DSEE-TOSH-00049 12:08:50(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 12:08:54(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256.
##E IIS-DSEE-TFSR-00019 12:08:54(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TBLD-00000 12:08:54(002) <main_program> Error when checking composite operator: Output from subprocess: ld: fatal: file /opt/IBM/InformationServer/Server/Projects/Rotines/RMS2.o: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to /opt/IBM/InformationServer/Server/Projects/RMSPROJTESTE/RT_BP240.O/V0S2_RMS_ROT_01_P01.so
##I IIS-DSEE-TBLD-00079 12:08:54(003) <transform> Error when checking composite operator: /opt/SUNWspro/bin/CC    -L/opt/IBM/InformationServer/Server/Projects/RMSPROJTESTE/RT_BP240.O/ -L/opt/IBM/InformationServer/Server/PXEngine/lib -L/opt/IBM/InformationServer/Server/PXEngine/user_lib -G -library=iostream -xarch=v9 -lorchsun64 -lorchcoresun64 -lorchbuildopsun64 /opt/IBM/InformationServer/Server/Projects/Rotines/RMS2.o /opt/IBM/InformationServer/Server/Projects/RMSPROJTESTE/RT_BP240.O/V0S2_RMS_ROT_01_P01.tmp.o -o /opt/IBM/InformationServer/Server/Projects/RMSPROJTESTE/RT_BP240.O/V0S2_RMS_ROT_01_P01.so.
##E IIS-DSEE-TCOS-00029 12:08:54(004) <main_program> Creation of a step finished with status = FAILED. (RMS_ROT_01.P01)
*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S2_RMS_ROT_01_P01 transform operator.
0003: //
0004:
0005: // define external functions used
0006: extern int32 RMS2();
0007:
0008: // define our input/output link names
0009: inputname 0 LI1;
0010: outputname 0 LO1;
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: LO1
0026:  LO1.COL2 = RMS2();
0027:  writerecord 0;
0028:  RowRejected0 = 0;
0029: }
0030:
0031: finish {
0032: }
0033:
*** End of Internal Generated Transformer Code

  
 
Any help ? 
 
Regards 
Updated on 2012-05-17T13:52:00Z at 2012-05-17T13:52:00Z by Caio Rodrigues
  • Caio Rodrigues
    Caio Rodrigues
    1 Post
    ACCEPTED ANSWER

    Re: Error compiling Parallel routine

    ‏2012-05-17T13:52:00Z  in response to Rui Soares
     Hello Rui,

    I'm having the same problem as you. Have searched the entire internet and can not find a solution that really works.
    How did you solve this problem?

    This is the error message that shows when I try to build DataStage my jobs that use a transformer. It is almost exactly like yours:
     
    Output from transformer compilation follows:
    ##I IIS-DSEE-TFCN-00001 09:39:41(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 09:39:41(001) <main_program> conductor uname: -s=Windows_NT; -r=1; -v=6; -n=SRVDSTG001A; -m=Pentium
    ##I IIS-DSEE-TOSH-00002 09:39:41(002) <main_program> orchgeneral: loaded
    ##I IIS-DSEE-TOSH-00002 09:39:41(003) <main_program> orchsort: loaded
    ##I IIS-DSEE-TOSH-00002 09:39:41(004) <main_program> orchstats: loaded
    ##W IIS-DSEE-TOSH-00049 09:39:41(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
    ##E IIS-DSEE-TBLD-00076 09:39:50(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 24,576.
    ##E IIS-DSEE-TFSR-00019 09:39:50(001) <main_program> Could not check all operators because of previous error(s)
    ##W IIS-DSEE-TFTM-00012 09:39:50(002) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
    ##I IIS-DSEE-TBLD-00000 09:39:50(003) <main_program> Error when checking composite operator: Output from subprocess: D:/appl/VC/include\exception(85) : warning C4985: 'strcpy_s': attributes not present on previous declaration.
            C:/PROGRA~2/MKSTOO~1/include\string.h(90) : see declaration of 'strcpy_s'
    D:\ibm\InformationServer\Server\PXEngine\include\apt_util/keylookup.h(1151) : warning C4251: 'APT_KeyLookupRange::rangeOptions_' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'APT_KeyLookupRange'
            with
            [
                _Ty=APT_KeyLookupRange::rangeOption
          
    ##I IIS-DSEE-TBLD-00000 09:39:50(004) <main_program> Error when checking composite operator: Output from subprocess:  ]
    D:\ibm\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
    D:\ibm\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
    D:\ibm\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warni
    ##I IIS-DSEE-TBLD-00000 09:39:50(005) <main_program> Error when checking composite operator: Output from subprocess: ng C4800: 'unsigned __int64' : forcing value to bool 'true' or 'false' (performance warning)
    D:\ibm\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
    D:\ibm\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
    D:\ibm\Informa
    ##I IIS-DSEE-TBLD-00000 09:39:51(000) <main_program> Error when checking composite operator: Output from subprocess: tionServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(187) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
    D:\ibm\InformationServer\Server\Projects\DW_Tokio_Desenvolvimento\RT_BP8.O\V0S0_TesteTransformer_Transformer_0.C(204) : warning C4101: 'output' : unreferenced local variable
    D:\ibm\InformationServer\Server\Projects\DW_Tokio_Desenvolvimento\RT_BP8.O\V0S0_TesteTransformer_Transformer_0.C(199) : warning C4101: 'input' : unrefere
    ##I IIS-DSEE-TBLD-00000 09:39:51(001) <main_program> Error when checking composite operator: Output from subprocess: nced local variable
    ##I IIS-DSEE-TBLD-00079 09:39:51(002) <transform> Error when checking composite operator: cxx    -LD:/ibm/InformationServer/Server/Projects/DW_Tokio_Desenvolvimento/RT_BP8.O/ -LD:/ibm/InformationServer/Server/PXEngine/lib -LD:/ibm/InformationServer/Server/PXEngine/user_lib -s -W/dll -W/base:0x50000000 -W/Zc:wchar_t- -lliborchnt -lliborchcorent -lliborchbuildopnt D:/ibm/InformationServer/Server/Projects/DW_Tokio_Desenvolvimento/RT_BP8.O/V0S0_TesteTransformer_Transformer_0.tmp.o -o D:/ibm/InformationServer/Server/Projects/DW_Tokio_Desenvolvimento/RT_BP8.O/V0S0_TesteTransformer_Transformer_0.dll.
    ##I IIS-DSEE-TBLD-00000 09:39:51(003) <main_program> Error when checking composite operator: Output from subprocess: c.lib(gshack.obj) : error LNK2019: unresolved external symbol __imp__TerminateProcess@8 referenced in function ___report_gsfailure
    c.lib(gshack.obj) : error LNK2019: unresolved external symbol __imp__GetCurrentProcess@0 referenced in function ___report_gsfailure
    c.lib(gshack.obj) : error LNK2019: unresolved external symbol __imp__GetTickCount@0 referenced in function ___security_init_cookie
    c.lib(throw.obj) : error LNK2019: unresolved external symbol __imp__RaiseException@16 referenced in function __CxxT
    ##I IIS-DSEE-TBLD-00000 09:39:51(004) <main_program> Error when checking composite operator: Output from subprocess: hrowException@8
    c.lib(unhandld.obj) : error LNK2019: unresolved external symbol __imp__SetUnhandledExceptionFilter@4 referenced in function "void __cdecl __CxxSetUnhandledExceptionFilter(void)" (?__CxxSetUnhandledExceptionFilter@@YAXXZ)
    c.lib(validate.obj) : error LNK2019: unresolved external symbol __imp__IsBadReadPtr@8 referenced in function "int __cdecl _ValidateRead(void const *,unsigned int)" (?_ValidateRead@@YAHPBXI@Z)
    c.lib(validate.obj) : error LNK2019: unresolved external symbol __imp__IsBadWrit
    ##I IIS-DSEE-TBLD-00000 09:39:51(005) <main_program> Error when checking composite operator: Output from subprocess: ePtr@8 referenced in function "int __cdecl _ValidateWrite(void *,unsigned int)" (?_ValidateWrite@@YAHPAXI@Z)
    c.lib(validate.obj) : error LNK2019: unresolved external symbol __imp__IsBadCodePtr@4 referenced in function "int __cdecl _ValidateExecute(int (__stdcall*)(void))" (?_ValidateExecute@@YAHP6GHXZ@Z)
    D:\ibm\InformationServer\Server\Projects\DW_Tokio_Desenvolvimento\RT_BP8.O\V0S0_TesteTransformer_Transformer_0.dll : fatal error LNK1120: 8 unresolved externals
    ##E IIS-DSEE-TCOS-00029 09:39:51(006) <main_program> Creation of a step finished with status = FAILED. (TesteTransformer.Transformer_0)
    *** Internal Generated Transformer Code follows:
    0001: //
    0002: // Generated file to implement the V0S0_TesteTransformer_Transformer_0 transform operator.
    0003: //
    0004:
    0005: // define our input/output link names
    0006: inputname 0 LK_1;
    0007: outputname 0 LK_2;
    0008:
    0009: initialize {
    0010:  // define our control variables
    0011:  int8 RowRejected0;
    0012:  int8 NullSetVar0;
    0013:
    0014: }
    0015:
    0016: mainloop {
    0017:
    0018:  // initialise the rejected row variable
    0019:  RowRejected0 = 1;
    0020:
    0021:  // evaluate columns (no constraints) for link: LK_2
    0022:  writerecord 0;
    0023:  RowRejected0 = 0;
    0024: }
    0025:
    0026: finish {
    0027: }
    0028:
    *** End of Internal Generated Transformer Code
     
     
    thanks,
    Caio Rodrigues