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


  • Subject: Re: CL Job logging question
  • From: MacWheel99@xxxxxxx
  • Date: Tue, 3 Apr 2001 13:59:53 EDT

CHGJOB & enter & F10 & scroll to second screen.
At top there are 3 parameters associated with general job logging
then LOGCLPGM Yes or No

You need to check the HELP review meaning of this stuff ... the first 3 
parameters a bit more difficult to wrap mind around than others ... I 
recently doing some job logging & learned that if interactive not sign off 
with SIGNOFF *LIST & if job did not bomb, you lose all the nice stuff like 
*SECLVL that I just changed their job to.

You can change this kind of thing interactively or within CL.

Note that if you have CL logging *YES ... the command to change this will be 
logged then no more, and if it was *NO, you do not get log of it starting.

Now depending on how your code is structured - here is an idea.
You have something you want logged in general.
It calls a CL that you not want logged.

You need a small chunk of code to say
"If logging is on right now, turn it off while we call this other CL program 
we not want logged, and REMEMBER that logging WAS on, so we turn it back on 
again after control is returned to this CL, which means we need a variable to 
remember this."

> From: thatzenbeler@clinitech.net (Hatzenbeler, Tim)
>  
>  When my CL program runs, it places the commands it runs in the JobLog.  
> This I would like to keep.  But, is there a way to selectively turn that 
feature
>  on and off within the CL?.  Reason:  My webserver job, I would like to 
avoid
>  the log entries that describe what libraries are being added and removed
>  everytime.  I want to keep the job log... Just not the library list
>  commands...
>  
>  Any ideas?
>  
>  Thanks, tim

MacWheel99@aol.com (Alister Wm Macintyre) (Al Mac)
AS/400 Data Manager & Programmer for BPCS 405 CD Rel-02 mixed mode (twinax 
interactive & batch) @ http://www.cen-elec.com Central Industries of 
Indiana--->Quality manufacturer of wire harnesses and electrical 
sub-assemblies - fax # 812-424-6838

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.