How can I test for errors in QTP and QUIZ in a job stream?

Abraham Zwygart azwygart@anodizing.com
Mon, 10 May 1999 09:49:46 -0700


Thanks for all the answers.

The following is the results of what was sent.   Sorry I did not keep the
names of all the people that sent in all the information.   Thanks again for
you help.

For QUIZ and QTP:

Working with 'JCW' works great if a error accurse.
!IF JCW <> 0 THEN
!      ERROR PROCESS......
!ENDIF
------------------------------------
Testing for the finfo works great when the subfile fills up.

> IF FINFO ("subfile","EXISTS"), THEN
>     IF FINFO ("subfile","FILE LIMIT") = FINFO ("subfile","EOF") THEN

----------------------------------------------------------------------------
--
I could not get the following to work correctly?

SETJCW QUIZ=0
QUIZ  AUTO=QUIZPROG
IF QUIZ=0 THEN

Is always true.   If there is a error or not.

Abraham Zwygart                      Senior Programmer Analyst
Anodizing Inc.                            Email: azwygart@anodizing.com

The thoughts, comments, and opinions expressed herein are mine
and do not reflect those of my employer(s), or anyone else.


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.