Thanks, Rory. That did the trick. Never used that before because,
I use cursors frequently and always CLOSE cursor inside the RPGLE program.
Didn't know I had a cursor in this one since I never DECLAREd one. I'm a
real put putz when it comes to this SQL stuff. The default (at 5.1 anyway)
is *ENDACTGRP. If I had called the program via a CL, I could have used the
RCLACTGRP command to the same effect, right?
Jerry C. Adams
IBM i Programmer/Analyst
We've got to pause and ask ourselves: How much clean air do we need? -Lee