× 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.



Rob,

It's the *SECLVL that's getting you I believe.  To suppress a joblog change the 
value to *NOLIST.  A joblog will only be generated if the job fails.

Rick Chevalier
AmeriCredit AITS

(817) 525-7178
rick.chevalier@xxxxxxxxxxxxxxx

 -----Original Message-----
From:   midrange-l-bounces@xxxxxxxxxxxx 
[mailto:midrange-l-bounces@xxxxxxxxxxxx]  On Behalf Of rob@xxxxxxxxx
Sent:   Thursday, December 18, 2003 2:01 PM
To:     MIDRANGE-L@xxxxxxxxxxxx
Subject:        Suppression of joblogs

When a job completes without any hassles how do you prevent it from 
generating a joblog?  We already have them go to a nonprinting output 
queue.  However we don't want them to generate at all.

All messages in the joblog at sev 00.
The CPI1125 job submitted message has...LOG(4 10 *SECLVL) LOGCLPGM(*NO)...

For testing purposes I tried the following
SBMJOB CMD(DSPOBJD OBJ(ROB) OBJTYPE(*USRPRF) OUTPUT(*PRINT))
       JOB(R4)
       LOG(1 10 *SECLVL)
       LOGCLPGM(*NO)
That, and the following 3 options, all generated joblogs.
       LOG(2 10 *SECLVL)
       LOG(3 10 *SECLVL)
       LOG(4 10 *SECLVL)

The following option
       LOG(0 10 *SECLVL)
does not generate a joblog.  Even if I attempt to induce an error by 
introducing an error, like this nonexistant user.
SBMJOB CMD(DSPOBJD OBJ(ROBXTYH) OBJTYPE(*USRPRF) OUTPUT(*PRINT))
       JOB(R5)
       LOG(0 00 *SECLVL)
       LOGCLPGM(*NO)
"Job 700333/ROB/R5 ended abnormally." appears in DSPMSG ROB.  However 
WRKJOB 700333/ROB/R5 results in
Job 700333/ROB/R5 not found.

I wouldn't mind getting a joblog.  However only when the joblog contains a 
message with a severity greater than or equal of the one expressed.

Rob Berendt
-- 
"All creatures will make merry... under pain of death."
-Ming the Merciless (Flash Gordon)




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.