Error Compiling Parallel Transformer

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
maheshalways
Participant
Posts: 13
Joined: Tue Jan 25, 2005 12:07 am
Location: Mumbai,India

Error Compiling Parallel Transformer

Post by maheshalways »

Friends,

I have a simple job which reads a sequential file, uses a parallel transformer and writes into sequential file. I have installed DataStage 7.5x2 on Windows 2003 server with Service pack 1. I have also installed Microsoft Visual Studio .Net before installing DataStage for C++ compiler. I get the following error dump as pasted below. Can anyone help me with the parameters setting and exact details, I'm missing. Thanks a TON in advance. I'm struggling on this for long.......... so please help ! help !

Output from transformer compilation follows:

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


##I TOSH 000002 00:14:18(001) <main_program> orchgeneral: loaded
##I TOSH 000002 00:14:18(002) <main_program> orchsort: loaded
##I TOSH 000002 00:14:18(003) <main_program> orchstats: loaded
##E TBLD 000000 00:14:20(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256
##E TFSR 000019 00:14:20(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 00:14:20(002) <transform> Error when checking composite operator: The number of reject datasets "0"is less than the number of input datasets "1".
##I TFCP 000008 00:14:20(003) <transform> Error when checking composite operator: cxx -O -IC:/Ascential/DataStage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c C:/Ascential/DataStage/Projects/prjDev/RT_BP2.O/V0S4_CopyOfjb_test_Transformer_4.C -o C:/Ascential/DataStage/Projects/prjDev/RT_BP2.O/V0S4_CopyOfjb_test_Transformer_4.tmp.o
##I TBLD 000000 00:14:20(004) <main_program> Error when checking composite operator: Output from subprocess: Compiler "cl" not found.

##E TCOS 000029 00:14:20(005) <main_program> Creation of step finished with status = FAILED (CopyOfjb_test.Transformer_4)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S4_repos_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: DSLink5.Bonus = (DSLink2.Salary * 0.3);
0024: writerecord 0;
0025: RowRejected0 = 0;
0026: }
0027:
0028: finish {
0029: }
0030:
*** End of Internal Generated Transformer C
Regards,
Mahesh (MP)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The error message suggests that your APT_COMPILER environment variable value is set to "cl" but no executable of that name can be found. This may be because the command search list environment variable (PATH) does not include "cl", or because "cl" simply does not exist on your system. Check that PATH is set correctly in the dsenv script.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The error message suggests that your APT_COMPILER environment variable value is set to "cl" but no executable of that name can be found. This may be because the command search list environment variable (PATH) does not include "cl", or because "cl" simply does not exist on your system. Check that PATH is set correctly in the dsenv script.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The error message suggests that your APT_COMPILER environment variable value is set to "cl" but no executable of that name can be found. This may be because the command search list environment variable (PATH) does not include "cl", or because "cl" simply does not exist on your system. Check that PATH is set correctly in the dsenv script.
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