MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » August 2014

Re: Multiple joblogs being created for some jobs



fixed

Sorry for the last post, Notes actually replied to the wrong email. Wow.



Bill Roehmer
Senior Pgmr/Analyst
The C.D. Hartnett Company

817 594-3813 ext. 1631


"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments
accompanying it) contain confidential information belonging to the sender.
The information is intended only for the use of the intended recipient.
If you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution or the taking of any action in reliance
on the contents of the information is strictly prohibited. Any
unauthorized interception of this transmission is illegal under the law.
If you have received this transmission in error, please promptly notify
the sender by reply e-mail, and then destroy all copies of the
transmission."






From: broehmer@xxxxxxxxxxxxxxx
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 08/18/2014 08:32 AM
Subject: Re: Multiple joblogs being created for some jobs
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



You'll need to give this to Eveyln. At this point, I can't do much.



Bill Roehmer
Senior Pgmr/Analyst
The C.D. Hartnett Company

817 594-3813 ext. 1631


"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments

accompanying it) contain confidential information belonging to the sender.

The information is intended only for the use of the intended recipient.
If you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution or the taking of any action in reliance
on the contents of the information is strictly prohibited. Any
unauthorized interception of this transmission is illegal under the law.
If you have received this transmission in error, please promptly notify
the sender by reply e-mail, and then destroy all copies of the
transmission."






From: CRPence <CRPbottle@xxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Date: 08/14/2014 12:14 PM
Subject: Re: Multiple joblogs being created for some jobs
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



On 14-Aug-2014 10:28 -0500, Steinmetz, Paul wrote:
Normally, only one joblog is created for a job.
Some jobs have multiple joblogs being created.
<<SNIP>>
In one instance 159 joblogs were created for a single batch job,
each about 80 pages, or 584k.
The final joblog is 5,164 pages, 32,792k.


FWiW, regarding the noted effect from *PRTWRAP setting for Job
Message Queue Full Action (JOBMSGQFL) having exceeded the Job Message
Queue Maximum Size (JOBMSGQMX):

<
http://www.ibm.com/support/knowledgecenter/api/content/ssw_ibm_i_71/apis/QMHCTLJL.htm


_Control Job Log Output (QMHCTLJL) API_
"...
The Control Job Log Output (QMHCTLJL) API controls the production of a
job log when the related job ends or when the job message queue becomes
full and the print-wrap option is in effect for the job. The API can
only influence the job log for the job in which it is used. The API can
be used to control:

• The destination of the job log.
• The amount of message information written to the job log.
• The occurrence of messages in the job log.

To have an effect on the job log, the API must be called before the job
ends. It can be called in an initial program for the job.

This API does not produce a job log; rather, the API captures the
control information specified on the parameters and retains the
information until job log production. The API also prepares the output
files for job log production. When job log production occurs, such as at
end of job, the control information and the prepared output files direct
the job log to the output file.

If the API is not used, normal job log production occurs. That is, all
messages in the job message queue for the job are written to a spooled
file from which the job log can be printed. If the API is used, no
spooled file is produced. Instead, the messages are written into one or
two output files, depending upon the amount of information requested.
Once the API is used, the options selected remain in effect for the
current job until the API is called again. Each time the API is used,
the selected options can be changed. The options in effect when the job
ends or when the job message queue becomes full are the ones used to
produce the job log.
..."

Given the data is in a file, a summary query grouping on the MsgId
and counting the occurrences per message identifier is helpful to
determine which messages are pervasive and review if those might best be
eliminated; i.e. review of ~150 spooled joblogs is not nearly so simple
as a COUNT aggregate in an SQL GROUP BY query, optionally with a HAVING
clause and\or ORDER to limit the results to just the most common messages.






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact