Allan Chalmers asked:
> altho on the 3000 for over 20 years, my company doesn't have a "job ran
> OK? - delete STDLIST" routine in jobs and I can't remember the drill for
> doing this. Can anyone refresh my age clouded memory? Tnx.
Well, the "job ran OK?" part is up to you (your programs need a way,
typically by setting a JCW, to let the job know that everything is ok).
Assuming you create a JCW named JOBOK, and that if it is set to 0 everything
is find, add the following to the end of the job:
!IF JOBOK=0 THEN
! SET STDLIST=DELETE
!ENDIF
Note: may people seem unaware that you can also do things like (assuming
MYPROG1 sets the JCW JOBOK to -1 for fatal-error-abort-the-job conditions):
!RUN MYPROG1
!IF JOBOK = -1 THEN
! EOJ
!ENDIF
!
!RUN MYPROG2
...
---
Michael D. Hensley | mailto:[log in to unmask]
Allegro Consultants Inc. | Visit scenic http://www.allegro.com
408/252-2330 | "Support Bill of Rights Enforcement"