|
If you know what the name of the spooled file will be ahead of time, you could add the following to the CL program: WRKSPLFA FILE(&SPLFNAME) MONMSG MSGID(CPF3330 CPF9871) EXEC(DO) GOTO CMDLBL(NOSPOOL) ENDDO ----- Original Message ----- From: "Wills, Mike N. (TC)" <MNWills@taylorcorp.com> To: <midrange-l@midrange.com> Sent: Wednesday, November 14, 2001 5:35 PM Subject: Monitor for no spool file > How can I monitor for no spool file in a CL? > > In this program, a huge batch file is run. Some of the programs have a > report come out, others don't. This is not a custom program, but from a > purchased product, so it is not easy to tell if a report gets printed > without heavy modifications (which we don't like to do). > > Is it possible to do a quick check to see if the spool file exists? > > Thanks for any help > > Mike > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.