Page 1 of 1

Compilation error in DS 11.3 version

Posted: Mon Nov 30, 2015 3:21 am
by satheesh_color
Hi All,


We could face a compilation issue in out production environment. The same job has been compiled successfully in our UAT environment.

UAT:
APT_COMPILEOPT=-O -fPIC -Wno-deprecated -c
APT_LINKPOT=-shared -Wl,-Bsymbolic,--allow-shlib-undefined

Production:
APT_COMPILEOPT=-c -O -fPIC -Wno-deprecated -m64 -mtune=generic -mcmodel=small
APT_LINKPOT=-shared -m64

Error:

##W IIS-DSEE-TOSH-00049 15:16:52(008) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##W IIS-DSEE-TFTM-00012 15:16:52(010) <transform> Error when checking composite operator: The number of reject datasets "0" is less than the number of input datasets "1".
##W IIS-DSEE-TFEV-00025 15:16:52(011) <transform> Error when checking composite operator: Converting number to string.
##W IIS-DSEE-TFEV-00023 15:16:52(012) <transform> Error when checking composite operator: Implicit conversion from source type "Int32" to result type "String".
##W IIS-DSEE-TFEV-00023 15:16:52(013) <transform> Error when checking composite operator: Implicit conversion from source type "String" to result type "UString".
##W IIS-DSEE-TFEV-00023 15:16:52(014) <transform> Error when checking composite operator: Implicit conversion from source type "String" to result type "UString".
##W IIS-DSEE-TFEV-00023 15:16:52(015) <transform> Error when checking composite operator: Implicit conversion from source type "String" to result type "UString".
##W IIS-DSEE-TFEV-00025 15:16:52(016) <transform> Error when checking composite operator: Converting number to string.
##W IIS-DSEE-TFEV-00023 15:16:52(017) <transform> Error when checking composite operator: Implicit conversion from source type "Int32" to result type "String".
##W IIS-DSEE-TFEV-00025 15:16:52(018) <transform> Error when checking composite operator: Converting ustring to string using codepage UTF-8.
##W IIS-DSEE-TFEV-00023 15:16:52(019) <transform> Error when checking composite operator: Implicit conversion from source type "UString" to result type "String".
##W IIS-DSEE-TFEV-00025 15:16:52(020) <transform> Error when checking composite operator: Converting ustring to string using codepage UTF-8.
##W IIS-DSEE-TFEV-00023 15:16:52(021) <transform> Error when checking composite operator: Implicit conversion from source type "UString" to result type "String".
##E IIS-DSEE-TFEV-00026 15:16:52(022) <transform> Error when checking composite operator: Setting null to this non-nullable field: StageVar0_StgPrvtranNull.
##E IIS-DSEE-TFSR-00019 15:16:52(023) <main_program> Could not check all operators because of previous error(s)


Kindly let me know your thoughts on the same.

Thanks & Regards,
Satheesh.R

Posted: Mon Nov 30, 2015 9:04 am
by chulett
Why are your compiler options different in the two environments? Check the lines that start with "##E", those are your fatal errors.

Posted: Mon Nov 30, 2015 1:10 pm
by PaulVL
Do you have the same release level of datastage in both environments?

Check your Version.xml

Posted: Wed Dec 02, 2015 12:06 am
by siauchun84
What is the C++ compiler version you used in the Production and UAT environment?

Re: Compilation error in DS 11.3 version

Posted: Wed Dec 02, 2015 7:59 am
by chulett
satheesh_color wrote:##E IIS-DSEE-TFEV-00026 15:16:52(022) <transform> Error when checking composite operator: Setting null to this non-nullable field: StageVar0_StgPrvtranNull.

Posted: Tue Dec 22, 2015 2:31 am
by ray.wurlod
I have been able to reproduce this error and narrowed the cause down to a column name that began with an underscore.