Sorry got a phone call during the earlier message and didn't have time to provide a code sample. If you set a job stream up like the following one it should help: !JOB ... !SETJCW QUIZ = 0 !QUIZ AUTO=myprog.QZC !IF JCW(QUIZ) = 0