ExecCommand Activity Wait Question

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
gagan8877
Premium Member
Premium Member
Posts: 77
Joined: Mon Jun 19, 2006 1:30 pm

ExecCommand Activity Wait Question

Post by gagan8877 »

Does ExecCommand wait for the command (.exe or .bat) to complete or does it just launch by sending it to the OS and returns success? Could not find this in the help file or the site. Is the behaviour different if the cmd is run via job before/after subroutine?

Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It waits for it to complete and returns the success / failure after that. And no, not different before/after job.
-craig

"You can never have too many knives" -- Logan Nine Fingers
gagan8877
Premium Member
Premium Member
Posts: 77
Joined: Mon Jun 19, 2006 1:30 pm

So it does wait.

Post by gagan8877 »

Thanks Craig
Gary
"A journey of a thousand miles, begins with one step"
Post Reply