|
I know this one is old, but I haven't had time lately... There's a chance that this has been misunderstood. I'm not sure that changing the logging level will help. AFAIK, the messages get logged regardless of logging level; they just don't necessarily get copied to the spooled output. I had the understanding that the logging level controlled more how much of the messages would be sent to an external device such as a display or a spooled file rather than how many messages would go into the job's external message queue. The problem is in the term 'joblog'. Sometimes we think of 'joblog' as being the message queue. Sometimes it's what gets displayed when we run DSPJOB OPTION(*JOBLOG). And sometimes it's the printed output in the spooled QPJOBLOG file. Those aren't always equivalent and logging level is one way to make significant differences. Does anyone know of a clear description of differences? Tom Liotta midrange-l-request@xxxxxxxxxxxx wrote: > 3. RE: Preventing Writes to Log file (michael) > >date: Thu, 01 Dec 2005 06:05:41 -0700 > >So, are you talking about spooled file entries in output queue >QEZJOBLOG? That the 'every 30 second' job is writing a job log tooutput >queue QEZJOBLOG? If so, change the logging level of the 'every 30 >second' job. Probably the best place to do it is in a job description. >Create a new job description (or modify an existing one) and specify >the logging level: > >CRTJOBD JOBD(MICHAEL/MY30SECJD) > LOG(4 0 *NOLIST) > >This means that a job log will *not* be produced (*NOLIST) if the job >ends normally. > >> -------- Original Message -------- >> Subject: RE: Preventing Writes to Log file >> From: "Brian Piotrowski" <bpiotrowski> >> Date: Thu, December 01, 2005 7:55 am >> To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx> >> >> Hi Mike, >> >> Actually, the job queue that is being affected is QEZJOBLOG. >> >> What is happening is that I am calling an RPG program from a CL Batch >> program. Can I add any additional code to either the RPG program or the >> CL program to suppress log entries?
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.