Page 1 of 1

pasing parameter from script!!

Posted: Thu Sep 09, 2010 1:08 pm
by allavivek
Hi All,

I was trying to pass the filename param from script to sequence.

It was not getting passed , an empty value is getting passed and when i give the value in sequence properties . its working..

the file name changes for each run ...

Do i need to set any thing to make this work...

thank you

Posted: Thu Sep 09, 2010 1:24 pm
by anbu
Check whether you are passing the right variable to the job? Whether value was assigned to it?

Posted: Thu Sep 09, 2010 1:27 pm
by allavivek
anbu wrote:Check whether you are passing the right variable to the job? Whether value was assigned to it?
Thanks anbu for reply ,

Yes i was passing the same variable with value passed as input to script.

When iam seeing in director log i cannot see any value assigned to this param...

Due to no value passed the sequence was getting aborted...

any suggestions...

Posted: Thu Sep 09, 2010 2:09 pm
by vinothkumar
Can you post your syntax that you used.

Posted: Thu Sep 09, 2010 2:12 pm
by anbu
Add command set -vx before dsjob command in your script. This will give you the trace of the commands. Check what is passed to dsjob.

Posted: Thu Sep 09, 2010 2:15 pm
by allavivek
anbu wrote:Add command set -vx before dsjob command in your script. This will give you the trace of the commands. Check what is passed to dsjob.

Hi anbu

I tried using set -vx

It was not passing file params...

What i did was i concatenated all params to single varaible and passed as param..

I guess it went wrong doing concatenation...

ill recheck and let know..

thanks