× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Loyd -

There are several components to how job logs are created on the system.

The message logging parameters determine what kind of information will be
collected:

Message logging:                 LOG
  Level  . . . . . . . . . . . .                4
  Severity . . . . . . . . . . .                00
  Text . . . . . . . . . . . . .                *NOLIST
Log CL program commands  . . . . LOGCLPGM       *NO

I won't go into all the specifics related to these values, but if the
message logging 'TEXT' parameter is set to *NOLIST a job log will only be
created if the job ends abnormally. If the job completes normally, no job
log will be created.

This is the same whether the job is an interactive or batch job.

If any value other than *NOLIST is specified for the message logging 'TEXT'
parameter in a batch job, a job log will always be produced, whether the job
ends normally or abnormally.

This works differently for interactive jobs though. In order to conserve
disk space on our system I've changed the SIGNOFF command defaults as
follows:

                               Sign Off (SIGNOFF)

 Type choices, press Enter.

 Job log  . . . . . . . . . . . . LOG            *NOLIST
 Drop line  . . . . . . . . . . . DROP           *DEVD
 End connection . . . . . . . . . ENDCNN         *NO


So, by default, when an interactive job is ended normally, no joblog will be
produced.

However, if the interactive job ends abnormally a joblog and most likely a
program dump, will be produced. This job log is usually stored in the
QEZJOBLOG output queue in library QUSRSYS.

If you want to force the creation of a job log from an interactive job you
can do it in one of two ways.

1.) When you sign off enter SIGNOFF LOG(*LIST) instead of using an Option 90
from a menu.

2.) Prior to signing off enter DSPJOBLOG OUTPUT(*PRINT).

When one of these options is used a job log is created and stored in the
QEZJOBLOG output queue in library QUSRSYS.


Kenneth

****************************************
Kenneth E. Graap
IBM Certified Specialist
AS/400e Professional System Administrator
NW Natural (Gas Services)
keg@nwnatural.com
Phone: 503-226-4211 x5537
FAX:    603-849-0591
****************************************


-----Original Message-----
From: Goodbar, Loyd (AFS-Water Valley) [mailto:LGoodbar@afs.bwauto.com]
Sent: Tuesday, November 27, 2001 10:31 AM
To: 'midrange-l@midrange.com'
Subject: Joblogs only on abnormal end?


I'm having a long Tuesday, but I thought there was a system value or a
SBMJOB parameter that controlled whether to always generate job logs, or
only generate job logs on abnormal end. Can someone refresh my memory?

Thanks,
Loyd

--
Loyd Goodbar
Programmer/Analyst
BorgWarner Incorporated
Air/Fluid Systems, Water Valley, MS



_______________________________________________
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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.