sequence not triggering the job

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
deepa.y
Participant
Posts: 56
Joined: Mon Nov 28, 2011 10:47 pm
Location: Bangalore

sequence not triggering the job

Post by deepa.y »

Hi,
I am using a script to check two conditions.If condition1 is met i am doing echo 0 .else if condition 2 is met i am doing echo 99.
Then based on above echo value i am triggering two different jobs.
my job looks like this.
echo 0
execute_command----------->job_activity1-->notification_success
|
|echo 99
v
job_activity2---->notification_reject

exception_handler-->notification_fail
in job properties i checked options add checkpoints for restartability ,automatically handle activities.

When i run the job it is executing the script and the job is getting finished.It is not triggering the job based on EXE_CMD_CREATE_DIRECTORY.$CommandOutput value.
But when i see the log the script is echoing the value correctly and completed with reply 0.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

EXE_CMD_CREATE_DIRECTORY.$CommandOutput<1>
-craig

"You can never have too many knives" -- Logan Nine Fingers
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Post by zulfi123786 »

guess you have to eliminate the @FM ! from the command output
- Zulfi
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You do have to deal with them, yes, since the results are returned in a dynamic array.
-craig

"You can never have too many knives" -- Logan Nine Fingers
deepa.y
Participant
Posts: 56
Joined: Mon Nov 28, 2011 10:47 pm
Location: Bangalore

Post by deepa.y »

I eliminated @FM and it is working fine.
Thanks a lot.
Post Reply