Problem while compaling in tranformar stage

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
Das
Participant
Posts: 87
Joined: Tue Oct 24, 2006 9:58 pm
Location: india

Problem while compaling in tranformar stage

Post by Das »

When i am trying to complie the simple parallel job it is giving the following error. My job consits of one sequential file stage as source one transformer and sequential file as target, it is direct mapping from source to target no functions and calculations used in trasformer stage.

Output from transformer compilation follows:

##I TFCN 000001 12:36:09(000) <main_program>
Ascential DataStage(tm) Enterprise Edition 7.5
Copyright (c) 2004, 1997-2004 Ascential Software Corporation.
All Rights Reserved


##I TOSH 000002 12:36:09(001) <main_program> orchgeneral: loaded
##I TOSH 000002 12:36:09(002) <main_program> orchsort: loaded
##I TOSH 000002 12:36:09(003) <main_program> orchstats: loaded
##E TBLD 000000 12:36:10(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256
##E TFSR 000019 12:36:10(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 12:36:10(002) <transform> Error when checking composite operator: The number of reject datasets "0"is less than the number of input datasets "1".
##W TBLD 000000 12:36:10(003) <main_program> Error when checking composite operator: Output from subprocess: cxx: file 'C:/PROGRA~1/MKSTOO~1/etc/cxx.ccg': The system cannot find the file specified.

##I TFCP 000008 12:36:10(004) <transform> Error when checking composite operator: cxx -O -ID:/Ascential/DataStage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c D:/Ascential/DataStage/Projects/My_project/RT_BP123.O/V0S2_parallel_seq_Transformer_2.C -o D:/Ascential/DataStage/Projects/My_project/RT_BP123.O/V0S2_parallel_seq_Transformer_2.tmp.o
##E TCOS 000029 12:36:10(005) <main_program> Creation of step finished with status = FAILED (parallel_seq.Transformer_2)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S2_parallel_seq_Transformer_2 transform operator.
0003: //
0004:
0005: // define our input/output link names
0006: inputname 0 DSLink3;
0007: outputname 0 DSLink4;
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: DSLink4
0023: writerecord 0;
0024: RowRejected0 = 0;
0025: }
0026:
0027: finish {
0028: }
0029:
*** End of Internal Generated Transformer Code

I have gone through the form... I had seen some discussions ,Any body can give a solution to the problem

Thanks in advance

With thanks and regards
Das"
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The error indicates that you do not have the c++ compiler installed or configured per the DataStage installation instructions.
Das
Participant
Posts: 87
Joined: Tue Oct 24, 2006 9:58 pm
Location: india

Post by Das »

ArndW wrote:The error indicates that you do not have the c++ compiler installed or configured per the DataStage installation instructions. ...
Thanks for the information.

Could you calrify

1-Can I install .net (with visual C++) to resolve the issue.If so which version do I need to install?
2-Is it requird to uninstall DS components before installing the C++ compiler?
3-In the Datastage CD itself there is one folder for some Microsoft .Net components,I installaed that before installing the DS sever and Client
Is it included the C++ compiler ?

Thanks
Das"
Das
Participant
Posts: 87
Joined: Tue Oct 24, 2006 9:58 pm
Location: india

Post by Das »

ArndW wrote:The error indicates that you do not have the c++ compiler installed or configured per the DataStage installation instructions. ...
Thanks for the information.

Could you calrify

1-Can I install .net (with visual C++) to resolve the issue.If so which version do I need to install?
2-Is it requird to uninstall DS components before installing the C++ compiler?
3-In the Datastage CD itself there is one folder for some Microsoft .Net components,I installaed that before installing the DS sever and Client
Is it included the C++ compiler ?

Thanks
Das"
divine
Premium Member
Premium Member
Posts: 149
Joined: Fri Oct 15, 2004 12:13 am
Location: Toronto,divine_auro@yahoo.co.in
Contact:

Post by divine »

Hi
Yes you can install .NET (Visual C++).
With Regards
Biswajit
divine
Premium Member
Premium Member
Posts: 149
Joined: Fri Oct 15, 2004 12:13 am
Location: Toronto,divine_auro@yahoo.co.in
Contact:

Post by divine »

Hi
If you are installing C++ compiler before the Datastage installation then it will automatically search and set the environment variables (COMPILER).

If you have already installed the DataStage then first install C++ compiler then go to Administrator and Set the Environment variables (COMPILER) as Default.
With Regards
Biswajit
divine
Premium Member
Premium Member
Posts: 149
Joined: Fri Oct 15, 2004 12:13 am
Location: Toronto,divine_auro@yahoo.co.in
Contact:

Post by divine »

And lastly
DataStage CD do have some components but they are not going to help you with C++ compilation problem.
You have to Install the C++ Compiler with licenced version.
With Regards
Biswajit
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You will probably find that the Visual Studio C++ compiler needs to be installed before DataStage server. So you're probably looking at uninstalling DataStage server too.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Das
Participant
Posts: 87
Joined: Tue Oct 24, 2006 9:58 pm
Location: india

Post by Das »

divine wrote:Hi
If you are installing C++ compiler before the Datastage installation then it will automatically search and set the environment variables (COMPILER).

If you have already installed the DataStage then first install C++ compiler then go to Administrator and Set the Environment variables (COMPILER) as Default.
Thanks a lot for the information

My datastage version is 7.5x2 and I have Microsoft visual studio 2005 and Microsoft visual studio 2003.Can i install any of the version(.net 2003 or .net 2005) to solve the issue.

thanks,
Das"
Minhajuddin
Participant
Posts: 467
Joined: Tue Mar 20, 2007 6:36 am
Location: Chennai
Contact:

Post by Minhajuddin »

Datastage 7.5x2 doesn't work with the C++ compiler which ships with Visual Studio 2005. For this you need *only* a Visual Studio 2003 C++ compiler.

And now from the point where you are. You can do two things:

1) Uninstall Visual Studio 2005, Reboot your server create a new project and see if it works. If it does change the compiler settings of the rest of the projects to the same.

2) Uninstall Visual Studio 2005 and Datastage server and client. And then re install Datastage server and client.

You can give the first one a shot. It would work in most of the cases.
Minhajuddin

<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>
Post Reply