Is there a way to set an environment variable right before a job starts?? Gridengine supports this, but the customer cluster is running PBS. Rayson --------------------------------------------------------- Get your FREE E-mail account at http://www.eseenet.com !