Page 1 of 1

Run two commands in a single Execute Command stage + Params

Posted: Fri Feb 22, 2008 2:58 pm
by ady
I am trying to run two commands as

chmod 774 #$ScriptPath#/#FileName#.KSH; #$ScriptPath#/#FileName#.KSH

My questions are

1) Can I run 2 commands in a single Execute Command stage?
2) How do I use parameters in Parallel Sequence?

As of now I am using 2 stages and "fullpath/filename" in the sequences. I just want them to be done in a single stage preferably using parameters because the path may change in future.

Please let me know if there is a way to do it, Thanks

Posted: Fri Feb 22, 2008 3:04 pm
by Teej
Within the sequencer job, you pretty much do the same thing.

What exactly is the problem you are facing here?

Posted: Fri Feb 22, 2008 3:08 pm
by ady
First The stage does not let me give parameters and even when I use the full path 2 command are not executed in asingle stage

Posted: Fri Feb 22, 2008 5:32 pm
by ray.wurlod
Any job parameters must be in the parameters field.

Command: chmod

Parameters: 774 #$ScriptPath#/#FileName#.KSH; #$ScriptPath#/#FileName#.KSH