Hi there, <br><br>I think you have just a typing error.<br><br>- setbb goes together, without a space.. <br>- to take a variable and append something, you have to put the delimiter at the end of the name of the var, just as you did with the $
<br><br>setbb name 1234<br>sc echo %name%567<br><br>You didn't post what error msg you get, but I think it is&nbsp; &quot;Could not find VARS variable blackboard&quot;, because Sac is looking for a variable &quot;name.z&quot; instead of &quot;name&quot;
<br><br>good luck<br>andreas<br><br><div><span class="gmail_quote">On 11/23/06, <b class="gmail_sendername">Januka Attanayake</b> &lt;<a href="mailto:jattanayake@gmail.com">jattanayake@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2006.300.33.SDMD.BHZ.R.SAC<br></blockquote><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">I want to extract only the 2006.300.33.SDMD part for naming purposes after I do certain calculations on it
</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&nbsp;
<div>set bb name $1$.$STATION$ ?</div>
<div>w %name.z</div>
<br></blockquote></div><br>