Hi -
It looks like the real problem is that your "*.b" file is using C shell syntax.
Q: Do you have the C shell loaded on your system?
Maybe the easiest approach is to a) install csh (if you don't already have it), and b) modify the first line of each of your "*.b" files to invoke the C shell, e.g.{code]
#!/bin/csh
...[/code]
Plan B is to change all of your *.b files to Bourne syntax (including, but not limited to, changing all of your "setenv" commands).
'Hope that helps .. PSM