And now, all of a sudden, it works. I’m not sure how, but it does. Same time of day, no changes to the threads, and it just suddenly works.
The only think I can think of is that switching from a Perl script to a KSH script seems to have done something.
Regardless of the reason, thanks for the suggestions!