Topic
1 reply Latest Post - ‏2010-12-14T04:34:59Z by wc wc
Rahul Bharadwaj
Rahul Bharadwaj
1 Post
ACCEPTED ANSWER

Pinned topic Issue Compiling a paralell routine in a datastage parallel job

‏2010-10-27T15:17:35Z |
 Hi All,
 
I have been trying to compile a parallel routine, but getting the following errors.

====================

Output from transformer compilation follows:

##I IIS-DSEE-TFCN-00001 06:39:34(000) <main_program>
IBM WebSphere DataStage Enterprise Edition 8.1.0.5557
Copyright (c) 2001, 2005-2008 IBM Corporation. All rights reserved



##I IIS-DSEE-TFCN-00006 06:39:34(001) <main_program> conductor uname: -s=Windows_NT; -r=2; -v=5; -n=SEW06728; -m=Pentium
##I IIS-DSEE-TOSH-00002 06:39:34(002) <main_program> orchgeneral: loaded
##I IIS-DSEE-TOSH-00002 06:39:34(003) <main_program> orchsort: loaded
##I IIS-DSEE-TOSH-00002 06:39:34(004) <main_program> orchstats: loaded
##W IIS-DSEE-TOSH-00049 06:39:34(007) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E IIS-DSEE-TBLD-00076 06:39:38(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 24,576.
##E IIS-DSEE-TFSR-00019 06:39:38(001) <main_program> Could not check all operators because of previous error(s)
##W IIS-DSEE-TFTM-00012 06:39:38(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 06:39:38(003) <main_program> Error when checking composite operator: Output from subprocess: I:\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:\IBM\InformationServer\Server\PXEngine\include\apt_util/lookupops.h(541) : warning C4251: 'APT_LUTCreateOp::parentNodeMap_' : class 'std::vector<_Ty>' needs to have dll-interface to be use
##I IIS-DSEE-TBLD-00000 06:39:38(004) <main_program> Error when checking composite operator: Output from subprocess: d by clients of class 'APT_LUTCreateOp'
with
[
_Ty=APT_Node
]
I:\IBM\InformationServer\Server\PXEngine\include\apt_util/lookupops.h(546) : warning C4251: 'APT_LUTCreateOp::inputDisabled_' : class 'std::vector<_Ty,_Ax>' needs to have dll-interface to be used by clients of class 'APT_LUTCreateOp'
with
[
_Ty=bool,
_Ax=std::allocator<bool>
]
I:\IBM\InformationServer\Server\PXEngine\include\apt_util/lookupops.h(548) :
##W IIS-DSEE-TFEV-00025 06:39:38(005) <transform> Error when checking composite operator: Converting number to string.
##W IIS-DSEE-TFEV-00023 06:39:38(006) <transform> Error when checking composite operator: Implicit conversion from source type "Int32" to result type "String".
##I IIS-DSEE-TBLD-00000 06:39:38(007) <main_program> Error when checking composite operator: Output from subprocess: warning C4251: 'APT_LUTCreateOp::sharedTableNodes_' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'APT_LUTCreateOp'
with
[
_Ty=APT_UString
]
P:\IBM\InformationServer\Server\Projects\DEV_VIF0_EE\RT_BP696.O\V0S1_VIF0_EE_MC_EXTRACT_Transformer_1.C(216) : warning C4101: 'inSchema_i' : unreferenced local variable
P:\IBM\InformationServer\Server\Projects\DEV_VIF0_EE\RT_BP696.O\V0S1_VIF0_EE_MC_EXTRACT_Transformer_1.C(208) : warning C
##I IIS-DSEE-TBLD-00000 06:39:38(008) <main_program> Error when checking composite operator: Output from subprocess: 4101: 'output' : unreferenced local variable
P:\IBM\InformationServer\Server\Projects\DEV_VIF0_EE\RT_BP696.O\V0S1_VIF0_EE_MC_EXTRACT_Transformer_1.C(203) : warning C4101: 'input' : unreferenced local variable

##I IIS-DSEE-TBLD-00079 06:39:38(009) <transform> Error when checking composite operator: cxx -LP:/IBM/InformationServer/Server/Projects/DEV_VIF0_EE/RT_BP696.O/ -LI:/IBM/InformationServer/Server/PXEngine/lib -LI:/IBM/InformationServer/Server/PXEngine/user_lib -s -W/dll -W/base:0x50000000 -W/Zc:wchar_t- -lliborchnt -lliborchcorent -lliborchbuildopnt I:/IBM/InformationServer/Server/PXEngine/user_lib/VIF0_mc_de_extract.o P:/IBM/InformationServer/Server/Projects/DEV_VIF0_EE/RT_BP696.O/V0S1_VIF0_EE_MC_EXTRACT_Transformer_1.tmp.o -o P:/IBM/InformationServer/Server/Projects/DEV_VIF0_EE/RT_BP696.O/V0S1_VIF0_EE_MC_EXTRACT_Transformer_1.dll.
##I IIS-DSEE-TBLD-00000 06:39:38(010) <main_program> Error when checking composite operator: Output from subprocess: LIBCMT.lib(fpinit.obj) : warning LNK4006: __fltused already defined in a previous module; second definition ignored
LIBCMT.lib(fpinit.obj) : warning LNK4006: __ldused already defined in a previous module; second definition ignored

##I IIS-DSEE-TBLD-00000 06:39:38(011) <main_program> Error when checking composite operator: Output from subprocess: LIBCMT.lib(invarg.obj) : warning LNK4006: __invalid_parameter_noinfo already defined in c.lib(nutlibc4.dll); second definition ignored

##I IIS-DSEE-TBLD-00000 06:39:38(012) <main_program> Error when checking composite operator: Output from subprocess: LIBCMT.lib(crt0dat.obj) : warning LNK4006: _exit already defined in c.lib(nutlibc4.dll); second definition ignored

##I IIS-DSEE-TBLD-00000 06:39:38(013) <main_program> Error when checking composite operator: Output from subprocess: LIBCMT.lib(hooks.obj) : warning LNK4006: "void __cdecl terminate(void)" (?terminate@@YAXXZ) already defined in c.lib(nutlibc4.dll); second definition ignored

##I IIS-DSEE-TBLD-00000 06:39:38(014) <main_program> Error when checking composite operator: Output from subprocess: LIBCMT.lib(atox.obj) : warning LNK4006: _atoi already defined in c.lib(nutlibc4.dll); second definition ignored

##I IIS-DSEE-TBLD-00000 06:39:38(015) <main_program> Error when checking composite operator: Output from subprocess: LIBCMT.lib(unhandld.obj) : warning LNK4006: "long __stdcall __CxxUnhandledExceptionFilter(struct _EXCEPTION_POINTERS *)" (?__CxxUnhandledExceptionFilter@@YGJPAU_EXCEPTION_POINTERS@@@Z) already defined in c.lib(unhandld.obj); second definition ignored

##I IIS-DSEE-TBLD-00000 06:39:38(016) <main_program> Error when checking composite operator: Output from subprocess: LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
P:\IBM\InformationServer\Server\Projects\DEV_VIF0_EE\RT_BP696.O\V0S1_VIF0_EE_MC_EXTRACT_Transformer_1.dll : fatal error LNK1120: 1 unresolved externals

##E IIS-DSEE-TCOS-00029 06:39:38(017) <main_program> Creation of a step finished with status = FAILED. (VIF0_EE_MC_EXTRACT.Transformer_1)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S1_VIF0_EE_MC_EXTRACT_Transformer_1 transform operator.
0003: //
0004:
0005: // define external functions used
0006: extern int32 ParsenExtract(string ConfigFileNm,string InFileNm,string OutFileNm);
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: // declare our intermediate variables for this section
0020: string InterVar0_0;
0021: string InterVar0_1;
0022: string InterVar0_2;
0023:
0024: // initialise constant values which require conversion
0025: InterVar0_0 = "H:\\DEV_VIF0_EE\\Temp\\mas.cfg";
0026: InterVar0_1 = "H:\\DEV_VIF0_EE\\Temp\\Out1";
0027: InterVar0_2 = "H:\\DEV_VIF0_EE\\Temp\\Out2";
0028: }
0029:
0030: mainloop {
0031: // initialise our row rejected variable
0032: RowRejected0 = 1;
0033:
0034: // evaluate columns (no constraints) for link: DSLink4
0035: DSLink4.New = ParsenExtract(InterVar0_0 , InterVar0_1 , InterVar0_2);
0036: writerecord 0;
0037: RowRejected0 = 0;
0038: }
0039:
0040: finish {
0041: }
0042:
*** End of Internal Generated Transformer Code

================

Please suggest what might be the reason.

I had seen a similar post on this site, but couldn't find the answer there.

Any help is greatly appreciated......

Thanks
Rahul  
Updated on 2010-12-14T04:34:59Z at 2010-12-14T04:34:59Z by wc wc
  • wc wc
    wc wc
    1 Post
    ACCEPTED ANSWER

    Re: Issue Compiling a paralell routine in a datastage parallel job

    ‏2010-12-14T04:34:59Z  in response to Rahul Bharadwaj
    For Microsoft® Visual Studio .NET 2003:
    1. Select Start > IBM Information Server > IBM WebSphere DataStage and QualityStage Administrator, and then log in to the Administrator client.
    2. Select Projects > Properties > Environment.
    3. Select Parallel > Compiler > APT_COMPILEOPT and delete the string -W/Zc:wchar_t- from the end of the existing setting in the Value field.
    4. Select Parallel > Compiler > APT_LINKOPT and delete the string -W/Zc:wchar_t- from the end of the existing setting in the Value field
    http://publib.boulder.ibm.com/infocenter/iisinfsv/v8r1/index.jsp?topic=/com.ibm.swg.im.iis.productization.iisinfsv.install.doc/topics/wsisinst_set_envars_cpp.html