Execute Command Stage in Sequencer Job
Posted: Tue Jul 06, 2010 12:04 pm
Hi,
I Unloaded the max of timestamp in to a text file using sequential stage. I need to pass this as job parameter to next job using sequencer job. For this I used Execute command stage and in the command line I tried 'Cat Textfilepath.txt'. In the next job activity I specified job parameter values as Execute Command Return Value. But the job is getting aborted every time.
the warning it is showing is
SequencerTest1..JobControl (@Job_Activity_3): Controller problem: Error calling DSRunJob(Px_Etl_Unld_Pc_PolicyPeriod_TodaysDate1), code=-2
[Job is not in the right state (compiled and not running)]
I tried using 'Field Textfilepath.txt' now the second job is getting aborted.
Am I doing it in correct way. If not please correct me. I am new to this sequence jobs so please help me.
I Unloaded the max of timestamp in to a text file using sequential stage. I need to pass this as job parameter to next job using sequencer job. For this I used Execute command stage and in the command line I tried 'Cat Textfilepath.txt'. In the next job activity I specified job parameter values as Execute Command Return Value. But the job is getting aborted every time.
the warning it is showing is
SequencerTest1..JobControl (@Job_Activity_3): Controller problem: Error calling DSRunJob(Px_Etl_Unld_Pc_PolicyPeriod_TodaysDate1), code=-2
[Job is not in the right state (compiled and not running)]
I tried using 'Field Textfilepath.txt' now the second job is getting aborted.
Am I doing it in correct way. If not please correct me. I am new to this sequence jobs so please help me.