Subprocess command failed with exit status 256--Please help

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
samratisking
Participant
Posts: 37
Joined: Tue Jan 29, 2008 6:03 am
Location: Guntur
Contact:

Subprocess command failed with exit status 256--Please help

Post by samratisking »

Hi Friends,

I have installed Visual Studio 2005 express edition and Datastage v7.5x2 on Windows XP.
But when i create a parallel job with a transformer I am getting the following errors while compiling.

Output from transformer compilation follows:

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


##I TOSH 000002 16:19:22(000) <main_program> orchgeneral: loaded
##I TOSH 000002 16:19:22(001) <main_program> orchsort: loaded
##I TOSH 000002 16:19:23(000) <main_program> orchstats: loaded
##E TBLD 000000 16:19:26(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256
##E TFSR 000019 16:19:26(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 16:19:26(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 16:19:26(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 16:19:26(004) <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/test/RT_BP1.O/V0S1_Test1_Transformer_1.C -o C:/Ascential/DataStage/Projects/test/RT_BP1.O/V0S1_Test1_Transformer_1.tmp.o
##E TCOS 000029 16:19:26(005) <main_program> Creation of step finished with status = FAILED (Test1.Transformer_1)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S1_repos_Transformer_1 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




Earlier I got some PWD not found error also. I have assigned a User Defined Environment variable for PWD with .(dot) as the value.

My Environment variables in the DS Administrator are as follows

APT_COMPILEOPT = -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c
APT_COMPILER = cxx
APT_LINKER = cxx
APT_LINKOPT = -W/TP -W/dll -W/base:0x50000000

and my environment variables on my system are as follows

INCLUDE = C:\PROGRA~1\IBM\SQLLIB\INCLUDE;C:\PROGRA~1\IBM\SQLLIB\LIB;C:\Program Files\Microsoft Visual Studio 8\VC\include

LIB = ;C:\PROGRA~1\IBM\SQLLIB\LIB;C:\Program Files\Microsoft Visual Studio 8\VC\lib


Please help me with this issue.. Thanks a lot. :(
Last edited by samratisking on Wed Apr 22, 2009 10:32 am, edited 1 time in total.
Samratisking
sharantheboss
Participant
Posts: 14
Joined: Mon Mar 23, 2009 12:57 am
Location: INDIA

Re: Subprocess command failed with exit status 256

Post by sharantheboss »

Hi,

Check whether you are setting Null to stage variable,if yes please change it.

Regards
Boss

samratisking wrote:Hi Friends,

I have installed Visual Studio 2005 express edition and Datastage v7.5x2 on Windows XP.
But when i create a parallel job with a transformer I am getting the following errors while compiling.

Output from transformer compilation follows:

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


##I TOSH 000002 16:19:22(000) <main_program> orchgeneral: loaded
##I TOSH 000002 16:19:22(001) <main_program> orchsort: loaded
##I TOSH 000002 16:19:23(000) <main_program> orchstats: loaded
##E TBLD 000000 16:19:26(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256
##E TFSR 000019 16:19:26(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 16:19:26(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 16:19:26(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 16:19:26(004) <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/test/RT_BP1.O/V0S1_Test1_Transformer_1.C -o C:/Ascential/DataStage/Projects/test/RT_BP1.O/V0S1_Test1_Transformer_1.tmp.o
##E TCOS 000029 16:19:26(005) <main_program> Creation of step finished with status = FAILED (Test1.Transformer_1)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S1_repos_Transformer_1 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




Earlier I got some PWD not found error also. I have assigned a User Defined Environment variable for PWD with .(dot) as the value.

My Environment variables in the DS Administrator are as follows

APT_COMPILEOPT = -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c
APT_COMPILER = cxx
APT_LINKER = cxx
APT_LINKOPT = -W/TP -W/dll -W/base:0x50000000

and my environment variables on my system are as follows

INCLUDE = C:\PROGRA~1\IBM\SQLLIB\INCLUDE;C:\PROGRA~1\IBM\SQLLIB\LIB;C:\Program Files\Microsoft Visual Studio 8\VC\include

LIB = ;C:\PROGRA~1\IBM\SQLLIB\LIB;C:\Program Files\Microsoft Visual Studio 8\VC\lib


Please help me with this issue.. Thanks a lot.
DS Info
samratisking
Participant
Posts: 37
Joined: Tue Jan 29, 2008 6:03 am
Location: Guntur
Contact:

Re: Subprocess command failed with exit status 256

Post by samratisking »

sharantheboss wrote:Hi,

Check whether you are setting Null to stage variable,if yes please change it.

Regards
Boss

samratisking wrote:Hi Friends,

I have installed Visual Studio 2005 express edition and Datastage v7.5x2 on Windows XP.
But when i create a parallel job with a transformer I am getting the following errors while compiling.

Output from transformer compilation follows:

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


##I TOSH 000002 16:19:22(000) <main_program> orchgeneral: loaded
##I TOSH 000002 16:19:22(001) <main_program> orchsort: loaded
##I TOSH 000002 16:19:23(000) <main_program> orchstats: loaded
##E TBLD 000000 16:19:26(000) <main_program> Error when checking composite operator: Subprocess command failed with exit status 256
##E TFSR 000019 16:19:26(001) <main_program> Could not check all operators because of previous error(s)
##W TFCP 000000 16:19:26(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 16:19:26(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 16:19:26(004) <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/test/RT_BP1.O/V0S1_Test1_Transformer_1.C -o C:/Ascential/DataStage/Projects/test/RT_BP1.O/V0S1_Test1_Transformer_1.tmp.o
##E TCOS 000029 16:19:26(005) <main_program> Creation of step finished with status = FAILED (Test1.Transformer_1)

*** Internal Generated Transformer Code follows:
0001: //
0002: // Generated file to implement the V0S1_repos_Transformer_1 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




Earlier I got some PWD not found error also. I have assigned a User Defined Environment variable for PWD with .(dot) as the value.

My Environment variables in the DS Administrator are as follows

APT_COMPILEOPT = -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c
APT_COMPILER = cxx
APT_LINKER = cxx
APT_LINKOPT = -W/TP -W/dll -W/base:0x50000000

and my environment variables on my system are as follows

INCLUDE = C:\PROGRA~1\IBM\SQLLIB\INCLUDE;C:\PROGRA~1\IBM\SQLLIB\LIB;C:\Program Files\Microsoft Visual Studio 8\VC\include

LIB = ;C:\PROGRA~1\IBM\SQLLIB\LIB;C:\Program Files\Microsoft Visual Studio 8\VC\lib


Please help me with this issue.. Thanks a lot.
Hi, I haven't used any stage variables. It is job with Two seq files and one transformer. The transformer has no complex derivations. It is just one-one mapping. No constraints and not stage variables.

Please help me with this guys...Thanks
Samratisking
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Do an exact search for "less than the number of input datasets". You are not the first to see this.
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