D'oh! Of course, that was a command line command... And yes, I did try just the part in single quotes in my script. Finally figured out via another comment here that it needed to go into a BEGIN block, due to the nature of its use on the host server. Problem solved. Thanks!