Page 1 of 1

Command Stage

Posted: Thu Apr 28, 2005 12:38 pm
by kollurianu
Can we have #workdir#/sh/ins_process_start.sh on the command tab on command stage ? it is giving compilation error saying that full path should mentioned it cannot take parameters , so after i give
/stage/sh/ins_process_start.sh on the command tab that iam able to compile without any errors.


any inputs are greatly appreciated.

Thank you all.

Posted: Thu Apr 28, 2005 12:48 pm
by kcbland
The error message exactly states the problem. The stage is deficient in that you cannot use parameters in the path to the command (kind of irritating, do you agree?).

The only solution for you is either environment variables or symbolic links. We've been asking for years to allow this functionality, so instead we got a compile error message. :cry:

Posted: Thu Apr 28, 2005 2:04 pm
by kollurianu
Thank you very much for the response. oh yes i do agree with you Kcbland. So Symbolic links and environment variables are going to work?

How are Symbolic links created?

Thank you very much once again,

Posted: Thu Apr 28, 2005 2:23 pm
by kcbland
If you have a directory structure:

Code: Select all

/aaa/bbb/ccc/ddd/eee
You can make a symbolic link represent the directory:

Code: Select all

$ ln -s /tmp/xyz /aaa/bbb/ccc
If you do a

Code: Select all

ls -l /tmp/xyz
you actually see the same results as doing

Code: Select all

ls -l /aaa/bbb/ccc
You can change symbolic links on demand.

Posted: Thu Apr 28, 2005 3:57 pm
by kduke
Switch it to routine stage and call ExecSH. you can use parameters with it.

Posted: Thu Apr 28, 2005 5:17 pm
by kollurianu
Thank you Ken and Duke for ur answers
Ken, i tried dsparams and it worked.

Thank you all fo r ur help,

Posted: Wed Mar 29, 2006 12:29 am
by sendmk
kcbland wrote:The only solution for you is either environment variables or symbolic links. We've been asking for years to allow this functionality, so instead we got a compile error message. :cry:
how can u use envir variable if u cannot use any job parameter in the command path,

:?

thx