help with execute command stage
Posted: Thu May 12, 2011 12:00 pm
Hi,
I have a job that write a value(string 'A' or 'B' or 'C') into a sequential file S1.
I want to execute job1 if value in the file S1 is 'A', job2 if value is 'B' and job3 if value is 'C'
below is my job design
job to generate S1 --> EXECUTE COMMAND ---> JOB1
|-------------------------------------> JOB2
|
|-------------------------------------> JOB 3
i cat the value of S1 and used the following in triggers to the execute command stage ExeCmnd_SysType.$CommandOutput = 'A' and same way for 'B' and 'C'
The sequencer does not execute any of the jobs and finishes successfully with out any warning.
i even checked the the out put of cat command and it returns 'A'.
PLEASE ADVICE what should i do to make it work.
thanks
I have a job that write a value(string 'A' or 'B' or 'C') into a sequential file S1.
I want to execute job1 if value in the file S1 is 'A', job2 if value is 'B' and job3 if value is 'C'
below is my job design
job to generate S1 --> EXECUTE COMMAND ---> JOB1
|-------------------------------------> JOB2
|
|-------------------------------------> JOB 3
i cat the value of S1 and used the following in triggers to the execute command stage ExeCmnd_SysType.$CommandOutput = 'A' and same way for 'B' and 'C'
The sequencer does not execute any of the jobs and finishes successfully with out any warning.
i even checked the the out put of cat command and it returns 'A'.
PLEASE ADVICE what should i do to make it work.
thanks