Transformer compilation Error

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
amouhi1
Participant
Posts: 4
Joined: Wed Jan 25, 2012 6:54 am

Transformer compilation Error

Post by amouhi1 »

Hello,

I have installed datastage Px 7.5.3 on a linux system (RedHat 5), all goes right except i got this error (see logs below) when i compiled the first job with transformer stage inside.

Any help plz
thanks in advance

**************************************
Output from transformer compilation follows:

##I TFCN 000001 23:08:10(000) <main_program>
IBM DataStage(tm) Parallel Extender 7.5.3
Copyright (c) 2004, 1997-2004 Ascential Software Corporation.
All Rights Reserved


##I TOSH 000002 23:08:10(001) <main_program> orchgeneral: loaded
##I TOSH 000002 23:08:10(002) <main_program> orchsort: loaded
##I TOSH 000002 23:08:10(003) <main_program> orchstats: loaded
##I TFSC 000001 23:08:10(006) <main_program> APT configuration file: /awb/dstage/moteur/Ascential/DataStage/Configurations/default.apt
##W TCOS 000049 23:08:11(000) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E TOSH 000205 23:08:11(001) <main_program> PATH search failure:
##E TOSH 000000 23:08:11(002) <main_program> Could not locate operator definition, wrapper, or Unix command for "transform"; please check that all needed libraries are preloaded, and check the PATH for the wrappers

##W TOSH 000003 23:08:11(003) <main_program> No operator registry was found.
##W TOSH 000004 23:08:11(004) <main_program> Operator transform does not exist in the registry.
##E TCOS 000029 23:08:11(005) <main_program> Creation of a step finished with status = FAILED. (testjob.Transformer_4)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S4_testjob_Transformer_4 transform operator.
0003: //
0004:
0005: // define our input/output link names
0006: inputname 0 DSLink2;
0007: outputname 0 DSLink5;
0008:
0009: initialize {
0010: // define our row rejected variable
0011: int8 RowRejected0;
0012:
0013: // define our null set variable
0014: int8 NullSetVar0;
0015:
0016: }
0017:
0018: mainloop {
0019: // initialise our row rejected variable
0020: RowRejected0 = 1;
0021:
0022: // evaluate columns (no constraints) for link: DSLink5
0023: writerecord 0;
0024: RowRejected0 = 0;
0025: }
0026:
0027: finish {
0028: }
0029:
*** End of Internal Generated Transformer Code
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Did you install the supported C++ compiler? Did you correctly set the environment variables that control the compiler and linker?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
amouhi1
Participant
Posts: 4
Joined: Wed Jan 25, 2012 6:54 am

Post by amouhi1 »

Hello ray.wurlod thank you for your answer
the administrator displays the following configuration

Name Prompt Value
APT_COMPILEROPT Compiler options -O -fPIC -Wno-deprecated -c
APT_COMPILER Compiler g++
APT_LINKER Linker g++
APT_LINKOPT Linker options -shared -Wl,-Bsymbolic,--allow-shlib-undefined

I do not know is it a problem of PATH or I have to add libraries.

c + + compiler is already installed

welcome to any proposal

for information

LD_LIBRARY_PATH=`dirname $DSHOME`/branded_odbc/lib:$DSHOME/lib:$DSHOME/uvdlls:$DSHOME/java/jre/lib/i386/client:$DSHOME/java/jre/lib/i386:/$APT_ORCHHOME/lib:$DSHOME/DSCAPIOp:DSParallel:/awb/dstage/moteur/Ascential/DataStage/branded_odbc/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Can PATH find the compiler?

Are there any compiler libraries that have to be findable via LD_LIBRARY_PATH?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply