My guess is - my user on the Unix level didn't have permission to use the pool of tapes. So - I ran the script from root, and that
nasty error message went away.
Cheers, Rich, we'll give this a try.
And I can now confirm that this was indeed the cause of the problem.