Transformer Compile 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

wittyme
Premium Member
Premium Member
Posts: 151
Joined: Tue Sep 15, 2009 2:03 pm
Location: Chicago

Transformer Compile Error

Post by wittyme »

Help me out...

I am using windows server 2003
IBM version:8.1

I installed all prerequisites....

when i use the transformer in the parallel job... i am getting ..
Error Compiling parallel transformer..

I could see nothing in Director...
Last edited by wittyme on Wed Oct 07, 2009 10:18 pm, edited 1 time in total.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Compiling a PX job with a Transformer requires a supported C++ compiler be installed and configured properly... have you done both?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

The paths set in the administrator should be the same as in the dsenv.
Even if you are correct at one place it may spoil the game

Regards
Sreeni
wittyme
Premium Member
Premium Member
Posts: 151
Joined: Tue Sep 15, 2009 2:03 pm
Location: Chicago

Post by wittyme »

I have installed C++ compiler...

@sreenivasulu.... i am not sure about it... need to check that....
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You installed what C++ compiler?
-craig

"You can never have too many knives" -- Logan Nine Fingers
wittyme
Premium Member
Premium Member
Posts: 151
Joined: Tue Sep 15, 2009 2:03 pm
Location: Chicago

Post by wittyme »

Microsoft Visual C++ 2005
wittyme
Premium Member
Premium Member
Posts: 151
Joined: Tue Sep 15, 2009 2:03 pm
Location: Chicago

Post by wittyme »

@sreenivasulu... i tried searching.. but i didn't find what exactly to go through..

can you tell me clearly... please.....
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What are the compiler options you have set in the Administrator?

Projects / Properties / General / Environment / Parallel / Compiler

I have no clue what they should be for Windows but it sure seems like posting them could help.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

I too was talking based on unix experience.. :)

Regards
Sreeni
wittyme
Premium Member
Premium Member
Posts: 151
Joined: Tue Sep 15, 2009 2:03 pm
Location: Chicago

Post by wittyme »

the environment variables for parallel compiler are:

Compiler Options:-W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t-

Compiler: cxx

Linker: cxx

Linker Options:-s -W/dll -W/base:0x50000000 -W/Zc:wchar_t-


it is still not working..... help me out guys :-)
wittyme
Premium Member
Premium Member
Posts: 151
Joined: Tue Sep 15, 2009 2:03 pm
Location: Chicago

Post by wittyme »

helppppppppppppppppppppp
mekrreddy
Participant
Posts: 88
Joined: Wed Oct 08, 2008 11:12 am

Post by mekrreddy »

Hello,

Can you try by removing(-W/Zc:wchar_t-) this from both Compiler options and linker options...
I am sure i did this when i was installing..
wittyme
Premium Member
Premium Member
Posts: 151
Joined: Tue Sep 15, 2009 2:03 pm
Location: Chicago

Post by wittyme »

it still did not work :cry:
Kryt0n
Participant
Posts: 584
Joined: Wed Jun 22, 2005 7:28 pm

Post by Kryt0n »

Is it compiling OK in Designer? Where are you getting the "error compiling parallel transfomer"?

When compiling in Designer, does it give you an enabled "More" button? If so, what does that have to say?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Right now I am presenting the IBM class DX444 (DataStage Essentials). The settings are precisely the same as yours for the compiler and linker, that is:

Compiler Options:-W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c -W/Zc:wchar_t-

Compiler: cxx

Linker: cxx

Linker Options:-s -W/dll -W/base:0x50000000 -W/Zc:wchar_t-

It is working properly - jobs with Transformer stages are compiling correctly and jobs are running successfully. This is the Visual Studio 2005 C++ compiler.
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