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
kollurianu
Premium Member
Premium Member
Posts: 614
Joined: Fri Feb 06, 2004 3:59 pm

Compilation Error

Post by kollurianu »

Hi All,
Iam trying to compile a simple parallel job ,and Iam getting the following error .

Any inputs greatly appreciated.



Output from transformer compilation follows:

##I TFCN 000001 11:25:21(000) <main_program>
Ascential DataStage(tm) Enterprise Edition 7.5.2
Copyright (c) 2004, 1997-2004 Ascential Software Corporation.
All Rights Reserved


##I TUTL 000031 11:25:21(001) <main_program> The open files limit is 100; raising to 65536.
##I TOSH 000002 11:25:22(000) <main_program> orchgeneral: loaded
##I TOSH 000002 11:25:22(001) <main_program> orchsort: loaded
##I TOSH 000002 11:25:22(002) <main_program> orchstats: loaded
##I TFSC 000001 11:25:22(005) <main_program> APT configuration file: /tools/Ascential/DataStage/Configurations/default.apt
##W TFPA 000017 11:25:22(006) <main_program> Warning: the value of the PWD environment variable (/tools/Ascential/DataStage/DSEngine) does not appear to be a synonym for the current working directory (/pdsproj/parallel_stage). The current working directory will be used, but if your ORCHESTRATE job does not start up correctly, you should set your PWD environment variable to a value that will work on all nodes of your system.
##W TCOS 000049 11:25:24(000) <main_program> Parameter specified but not used in flow: DSPXWorkingDir
##E TBLD 000000 11:25:25(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256.
##E TFSR 000019 11:25:25(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 11:25:25(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 11:25:25(003) <main_program> Error when checking composite operator: Output from subprocess: sh: /opt/SUNWspro/bin/CC
##W TBLD 000000 11:25:25(004) <main_program> Error when checking composite operator: Output from subprocess: : not found

##I TFCP 000000 11:25:25(005) <transform> Error when checking composite operator: /opt/SUNWspro/bin/CC -KPIC -O -I/tools/Ascential/DataStage/PXEngine/include -dalign -O -PIC -library=iostream -c /pdsproj/parallel_stage/RT_BP829.O/V0S6_Test_P_Transformer_6.C -o /pdsproj/parallel_stage/RT_BP829.O/V0S6_Test_P_Transformer_6.tmp.o.
##E TCOS 000029 11:25:25(006) <main_program> Creation of a step finished with status = FAILED. (Test_P.Transformer_6)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S6_Test_P_Transformer_6 transform operator.
0003: //
0004:
0005: // define our input/output link names
0006: inputname 0 DSLink5;
0007: outputname 0 DSLink8;
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: DSLink8
0023: writerecord 0;
0024: RowRejected0 = 0;
0025: }
0026:
0027: finish {
0028: }
0029:
*** End of Internal Generated Transformer Code
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

It would seem your c compiler is not correctly installed. What happens when you execute "/opt/SUNWspro/bin/CC" from a UNIX shell?
kollurianu
Premium Member
Premium Member
Posts: 614
Joined: Fri Feb 06, 2004 3:59 pm

Post by kollurianu »

Thanks Arnd for getting back.


When i ran the command "opt/SUNWspro/bin/CC" on the unix prompt it gave the
following message.

ksh: /opt/SUNWspro/bin/CC: not found

Any inputs greatly appreciated.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Well - that means you either don't have the c++ compiler installed, or it is not in that location. My guess is that you don't have the c++ compiler installed, but perhaps you could ask your administrator and/or use "find" to locate your c++ compiler executable
kollurianu
Premium Member
Premium Member
Posts: 614
Joined: Fri Feb 06, 2004 3:59 pm

Post by kollurianu »

Thanks for your responses , yes c++ compiler is not installed.,,

by the is CC a c++ compiler or a C compiler.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

You will need the correct c++ compiler to compile DataStage EE jobs with transform stages.
Post Reply