Rather than blindly sending the output to $null, I prefer using circular
files.
This eliminates the long listings but preserves the last N lines of
displays.
Were N is determined by the size of the circular file. Of course either
method
may mask errors from any spool scanning program/process.
Mike
!JOB MIKE.HORNSBY
!PURGE CIRFILE
!BUILD CIRFILE;REC=-132,,F,ASCII;CIR
!FILE CIRFILE,OLD
!RUN COBPROG >*CIRFILE
!EOJ
-----Original Message-----
From: Bing Fu <[log in to unmask]>
To: [log in to unmask] <[log in to unmask]>
Date: Wednesday, May 26, 1999 5:14 PM
Subject: How to redirect displays in Cobol program into $NULL in JCL
>We have a Cobol program prints too much output into STDLIST. This is
>causing our Spooling disk space problem.
>Does anybody know how to redirect those output into $NULL instead of
>STDLIST?
>
>Thanks a lot.
>
>Bing
>May 26, 1999
>
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com