Topic
  • 2 replies
  • Latest Post - ‏2013-07-14T18:23:57Z by RobertDickson
SystemAdmin
SystemAdmin
2105 Posts

Pinned topic Right settings for C++ compiler under Windows Server 2003 R2 x64 Enterprise

‏2010-11-10T12:27:07Z |
Hi!

Transformer Stage hasn't worked.

I had installed Microsoft Visual Studio .NET 2005 Express Edition C++ and Microsoft Platform SDK for Windows Server 2003 R2 before I installed IBM WebSphere DataStage 8.1. Also I set the environment variables as documentation told. And after that I installed DataStage 8.1.

I've installed IBM WebSphere DataStage 8.1 on Windows Server 2003 R2 x64 Enterprise Edition.

I've read about similar problem in the Web. People told that parameter "-m32" in compiler settings (environment variables APT_COMPILEOPT, APT_LINKOPT) should help to resolve the problem, but it doesn't help me to compile a Transformer.
I've tried to compile the transformer with parameter "-m32" and without one.

Could you help me to resolve the problem with compilation of a Transformer or tell cause of the problem.
Full log:

Output from transformer compilation follows:
##I IIS-DSEE-TFCN-00001 10:39:19(000) <main_program>
IBM WebSphere DataStage Enterprise Edition 8.1.0.4987
Copyright (c) 2001, 2005-2008 IBM Corporation. All rights reserved
##I IIS-DSEE-TFCN-00006 10:39:19(001) <main_program> conductor uname: -s=Windows_NT; -r=2; -v=5; -n=CHIEF; -m=Pentium
##I IIS-DSEE-TOSH-00002 10:39:19(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 10:39:19(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 10:39:19(004) <main_program> orchstats: loaded
##W IIS-DSEE-TCOS-00036 10:39:20(000) <main_program> Failed to initialize job monitoring. Monitor information will not be generated.
##W IIS-DSEE-TOSH-00049 10:39:20(001) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 10:39:20(002) <main_program> Error when checking composite operator: Subprocess command failed with exit status 16,777,227.
##E IIS-DSEE-TFSR-00019 10:39:20(003) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 10:39:20(004) <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 10:39:20(005) <main_program> Error when checking composite operator: Output from subprocess: ##W IIS-DSEE-****-00012 10:39:20(002) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##E IIS-DSEE-****-00167 10:39:20(003) <transform> Error when checking composite operator: Caught unknown exception during wrapDescribeOperator().
##E IIS-DSEE-****-00019 10:39:20(004) <main_program> Could not check all operators because of previous error(s)
##E IIS-DSEE-****-00029 10:39:20(005) <main_program> Creation of a step finished wi
##W IIS-DSEE-TBLD-00000 10:39:20(006) <main_program> Error when checking composite operator: Output from subprocess: th status = FAILED.
##I IIS-DSEE-TBLD-00079 10:39:20(007) <transform> Error when checking composite operator: cxx -O -IC:/IBM/InformationServer/Server/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -m32 -W/Zc:wchar_t- C:/Projects/DEV/RT_BP3.O/V0S1_CheckTransformer_Transformer_1.C -o C:/Projects/DEV/RT_BP3.O/V0S1_CheckTransformer_Transformer_1.tmp.o.
##E IIS-DSEE-TCOS-00029 10:39:20(008) <main_program> Creation of a step finished with status = FAILED. (CheckTransformer.Transformer_1)

Best regards, Serge.
  • 43YD_Nihar_Ranjan_Dash
    1 Post

    Re: Right settings for C++ compiler under Windows Server 2003 R2 x64 Enterprise

    ‏2013-07-05T03:19:46Z  

    I am having exactly the same issue on windows 7 platform with Information Server v 8.7 . Does anybody have a solution to this issue?Please help me on this..

    Thanks in advance

    Output from transformer compilation follows:

     
    ##I IIS-DSEE-TFCN-00001 08:46:38(000) <main_program> 
    IBM InfoSphere DataStage Enterprise Edition 8.7.0.6118 
    Copyright (c) 2001, 2005-2011 IBM Corporation. All rights reserved
     
     
     
    ##I IIS-DSEE-TFCN-00006 08:46:38(001) <main_program> conductor uname: -s=Windows_NT; -r=1; -v=6; -n=AKP-PC; -m=Pentium
    ##I IIS-DSEE-TOSH-00002 08:46:38(002) <main_program> orchgeneral: loaded
    ##I IIS-DSEE-TOSH-00002 08:46:38(003) <main_program> orchsort: loaded
    ##I IIS-DSEE-TOSH-00002 08:46:38(004) <main_program> orchstats: loaded
    ##W IIS-DSEE-TOSH-00049 08:46:38(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
    ##E IIS-DSEE-TBLD-00076 08:46:41(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 40,192.
    ##E IIS-DSEE-TFSR-00019 08:46:41(001) <main_program> Could not check all operators because of previous error(s)
    ##W IIS-DSEE-TFTM-00012 08:46:41(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 08:46:41(003) <main_program> Error when checking composite operator: Output from subprocess: C:\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
            ]
    C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss o
    ##I IIS-DSEE-TBLD-00000 08:46:41(004) <main_program> Error when checking composite operator: Output from subprocess: f data
    C:\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?)
    C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4800: 'unsigned __int64' : forcing value to bool 'true' or 'false' (performance warning)
    C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : w
    ##I IIS-DSEE-TBLD-00000 08:46:41(005) <main_program> Error when checking composite operator: Output from subprocess: arning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
    C:\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?)
    C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(187) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
    C:\IBM\Inf
    ##I IIS-DSEE-TBLD-00000 08:46:41(006) <main_program> Error when checking composite operator: Output from subprocess: ormationServer\Server\Projects\ANALYZERPROJECT\RT_BP1.O\V0S1_test_Transformer_1.C(205) : warning C4101: 'output' : unreferenced local variable
    C:\IBM\InformationServer\Server\Projects\ANALYZERPROJECT\RT_BP1.O\V0S1_test_Transformer_1.C(200) : warning C4101: 'input' : unreferenced local variable
     
    ##I IIS-DSEE-TBLD-00079 08:46:41(007) <transform> Error when checking composite operator: cxx    -LC:/IBM/InformationServer/Server/Projects/ANALYZERPROJECT/RT_BP1.O/ -LC:/IBM/InformationServer/Server/PXEngine/lib -LC:/IBM/InformationServer/Server/PXEngine/user_lib -s -W/dll -W/base:0x50000000  -lliborchnt -lliborchcorent -lliborchbuildopnt C:/IBM/InformationServer/Server/Projects/ANALYZERPROJECT/RT_BP1.O/V0S1_test_Transformer_1.tmp.o -o C:/IBM/InformationServer/Server/Projects/ANALYZERPROJECT/RT_BP1.O/V0S1_test_Transformer_1.dll.
    ##I IIS-DSEE-TBLD-00000 08:46:41(008) <main_program> Error when checking composite operator: Output from subprocess: LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'
     
    ##E IIS-DSEE-TCOS-00029 08:46:41(009) <main_program> Creation of a step finished with status = FAILED. (test.Transformer_1)
     
    *** Internal Generated Transformer Code follows:
    0001: //
    0002: // Generated file to implement the V0S1_test_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 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: DSLink4
    0022:  writerecord 0;
    0023:  RowRejected0 = 0;
    0024: }
    0025: 
    0026: finish {
    0027: }
    0028: 
    *** End of Internal Generated Transformer Code
     
  • RobertDickson
    RobertDickson
    8 Posts

    Re: Right settings for C++ compiler under Windows Server 2003 R2 x64 Enterprise

    ‏2013-07-14T18:23:57Z  

    I am having exactly the same issue on windows 7 platform with Information Server v 8.7 . Does anybody have a solution to this issue?Please help me on this..

    Thanks in advance

    Output from transformer compilation follows:

     
    ##I IIS-DSEE-TFCN-00001 08:46:38(000) <main_program> 
    IBM InfoSphere DataStage Enterprise Edition 8.7.0.6118 
    Copyright (c) 2001, 2005-2011 IBM Corporation. All rights reserved
     
     
     
    ##I IIS-DSEE-TFCN-00006 08:46:38(001) <main_program> conductor uname: -s=Windows_NT; -r=1; -v=6; -n=AKP-PC; -m=Pentium
    ##I IIS-DSEE-TOSH-00002 08:46:38(002) <main_program> orchgeneral: loaded
    ##I IIS-DSEE-TOSH-00002 08:46:38(003) <main_program> orchsort: loaded
    ##I IIS-DSEE-TOSH-00002 08:46:38(004) <main_program> orchstats: loaded
    ##W IIS-DSEE-TOSH-00049 08:46:38(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
    ##E IIS-DSEE-TBLD-00076 08:46:41(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 40,192.
    ##E IIS-DSEE-TFSR-00019 08:46:41(001) <main_program> Could not check all operators because of previous error(s)
    ##W IIS-DSEE-TFTM-00012 08:46:41(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 08:46:41(003) <main_program> Error when checking composite operator: Output from subprocess: C:\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
            ]
    C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss o
    ##I IIS-DSEE-TBLD-00000 08:46:41(004) <main_program> Error when checking composite operator: Output from subprocess: f data
    C:\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?)
    C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(185) : warning C4800: 'unsigned __int64' : forcing value to bool 'true' or 'false' (performance warning)
    C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(186) : w
    ##I IIS-DSEE-TBLD-00000 08:46:41(005) <main_program> Error when checking composite operator: Output from subprocess: arning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
    C:\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?)
    C:\IBM\InformationServer\Server\PXEngine\include\apt_components/transformop/transformbase.h(187) : warning C4244: 'argument' : conversion from 'APT_UInt64' to 'unsigned int', possible loss of data
    C:\IBM\Inf
    ##I IIS-DSEE-TBLD-00000 08:46:41(006) <main_program> Error when checking composite operator: Output from subprocess: ormationServer\Server\Projects\ANALYZERPROJECT\RT_BP1.O\V0S1_test_Transformer_1.C(205) : warning C4101: 'output' : unreferenced local variable
    C:\IBM\InformationServer\Server\Projects\ANALYZERPROJECT\RT_BP1.O\V0S1_test_Transformer_1.C(200) : warning C4101: 'input' : unreferenced local variable
     
    ##I IIS-DSEE-TBLD-00079 08:46:41(007) <transform> Error when checking composite operator: cxx    -LC:/IBM/InformationServer/Server/Projects/ANALYZERPROJECT/RT_BP1.O/ -LC:/IBM/InformationServer/Server/PXEngine/lib -LC:/IBM/InformationServer/Server/PXEngine/user_lib -s -W/dll -W/base:0x50000000  -lliborchnt -lliborchcorent -lliborchbuildopnt C:/IBM/InformationServer/Server/Projects/ANALYZERPROJECT/RT_BP1.O/V0S1_test_Transformer_1.tmp.o -o C:/IBM/InformationServer/Server/Projects/ANALYZERPROJECT/RT_BP1.O/V0S1_test_Transformer_1.dll.
    ##I IIS-DSEE-TBLD-00000 08:46:41(008) <main_program> Error when checking composite operator: Output from subprocess: LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'
     
    ##E IIS-DSEE-TCOS-00029 08:46:41(009) <main_program> Creation of a step finished with status = FAILED. (test.Transformer_1)
     
    *** Internal Generated Transformer Code follows:
    0001: //
    0002: // Generated file to implement the V0S1_test_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 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: DSLink4
    0022:  writerecord 0;
    0023:  RowRejected0 = 0;
    0024: }
    0025: 
    0026: finish {
    0027: }
    0028: 
    *** End of Internal Generated Transformer Code
     

    Hi,

    Take a look at http://pic.dhe.ibm.com/infocenter/iisinfsv/v8r7/index.jsp?topic=%2Fcom.ibm.swg.im.iis.productization.iisinfsv.install.doc%2Ftopics%2Fwsisinst_set_envars_cpp.html&resultof%3D%2522%2543%252b%252b%2522%2520%2522%2563%2522%2520

    Regards,

    Robert

    Updated on 2013-07-14T18:29:45Z at 2013-07-14T18:29:45Z by RobertDickson