|
James wrote: > I've never tried this, but if you change the logging level > of an active job, does the job log magically change to reflect > the messages it previously filtered? Maybe not when displayed, > but when spooled at job end? It would appear to in both cases. For example, try compiling the following CL program and submitting it to batch. It should produce 2 job logs. The first log does not contain the first message, but the second one contains both although the first message is sent before the first log is produced. If you display the job while it is on the 1st delay you will also see that there is no job log information. If you do the same thing on the second delay you will see both messages in the log. pgm chgjob LOG(0 00 *MSG) sndpgmmsg ('This message sent with log level 0') + TOPGMQ(*ext) dlyjob 10 dspjoblog OUTPUT(*print) chgjob LOG(1 00 *MSG) sndpgmmsg ('This message sent with log level 1') + TOPGMQ(*ext) dlyjob 12 endpgm > If not, it would make more sense to me if job message queues > behaved more like data queues in that the message is deleted > upon receipt by the message filter/job log creation process. That doesn't necessarily sound like a good idea. A program might still want to be able to retrieve the messages at some point even if they were filtered from the log. Dave... _________ ,___o __________ _\ <;_ ___________ (_)/ (_) http://www.twickenhamcc.co.uk ======================================================= The opinions expressed in this communication are my own and do not necessarily reflect those of my employer.
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.