proc sqlcode=1002 fetch out of sequence | OKKY Q&A