How to create shared C++ object and use them in datastage
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 14
- Joined: Wed Feb 01, 2006 8:50 am
- Contact:
How to create shared C++ object and use them in datastage
How to create shared C++ code object and use them in datastage parallel routine . please give me all the steps that i need to create for this.
Harish vardhan
It's all documented so there's really no reason for someone to list "all of the steps" here. This is a good place to start, other official resources exist online as well. Then feel free to come back for help if you have any specific questions or issues.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 14
- Joined: Wed Feb 01, 2006 8:50 am
- Contact:
i am getting this error
##W IIS-DSEE-TBLD-00000 17:14:39(003) <main_program> Error when checking composite operator: Output from subprocess: ld: 0711-736 ERROR: Input file /opt/IBM/InformationServer/Server/PXEngine/lib/liborchbuildopaix64.so:
XCOFF64 object files are not allowed in 32-bit mode.
can any one tell how to create an object file in AIX 6.1.
i am creating object file using this command
$ /usr/vacpp/bin/xlC_r -c <filename with extension>
with the above command the .o file will be created.
the datastage has the following ENV values
APT_COMPILER /usr/vacpp/bin/xlC_r
APT_LINKER /usr/vacpp/bin/xlC_r
APT_COMPILEOPT -O -q64 -c
APT_LINKOPT -G -q64
##W IIS-DSEE-TBLD-00000 17:14:39(003) <main_program> Error when checking composite operator: Output from subprocess: ld: 0711-736 ERROR: Input file /opt/IBM/InformationServer/Server/PXEngine/lib/liborchbuildopaix64.so:
XCOFF64 object files are not allowed in 32-bit mode.
can any one tell how to create an object file in AIX 6.1.
i am creating object file using this command
$ /usr/vacpp/bin/xlC_r -c <filename with extension>
with the above command the .o file will be created.
the datastage has the following ENV values
APT_COMPILER /usr/vacpp/bin/xlC_r
APT_LINKER /usr/vacpp/bin/xlC_r
APT_COMPILEOPT -O -q64 -c
APT_LINKOPT -G -q64
Harish vardhan
-
- Premium Member
- Posts: 536
- Joined: Thu Oct 11, 2007 1:48 am
- Location: Bangalore
Try this:-
APT_COMPILEOPT=-O -q64 -c
APT_COMPILER=/usr/vacpp/bin/xlC_r
$<APT_COMPILER> <APT_COMPILEOPT> File_name.cpp
APT_COMPILEOPT=-O -q64 -c
APT_COMPILER=/usr/vacpp/bin/xlC_r
$<APT_COMPILER> <APT_COMPILEOPT> File_name.cpp
Thanks
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
-
- Premium Member
- Posts: 14
- Joined: Wed Feb 01, 2006 8:50 am
- Contact:
I compiled successfully using the options you specified.
but i am getting this error when i run this job
Xfm: Failed to load the library "V0S0_LdFactDemographic_Xfm.o"; either the directory containing the library file
is not on the library search path, or the library was compiled on a system
that is incompatible with this system: Could not load "V0S0_LdFactDemographic_Xfm": rtld: 0712-001 Symbol sumof__FiT1 was referenced
from module /var/opt/apps/etl/projects/AAP_EDW/RT_BP2692.O/V0S0_LdFactDemographic_Xfm.o(), but a runtime definition
of the symbol was not found.
rtld: 0712-002 fatal error: exiting..
please help.
but i am getting this error when i run this job
Xfm: Failed to load the library "V0S0_LdFactDemographic_Xfm.o"; either the directory containing the library file
is not on the library search path, or the library was compiled on a system
that is incompatible with this system: Could not load "V0S0_LdFactDemographic_Xfm": rtld: 0712-001 Symbol sumof__FiT1 was referenced
from module /var/opt/apps/etl/projects/AAP_EDW/RT_BP2692.O/V0S0_LdFactDemographic_Xfm.o(), but a runtime definition
of the symbol was not found.
rtld: 0712-002 fatal error: exiting..
please help.
Harish vardhan