HTTP srvr way to clear SYSOUT while a job/task is running?



IBM OS/370, MVS, OS/390, Linux, TPF, VM/CMS, VM/ESA, VSE/ESA, z/VM, z/VSE, z/OS, z/OS.e etc...

HTTP srvr way to clear SYSOUT while a job/task is running?

Postby chinatrain99 » Wed May 20, 2015 9:01 pm

We have an HTTP server that currently has a SYSOUT of 12M lines. We have to bounce the HTTP server occasionally to free up all the space in the JES spool. Paperwork/outages suck so I was wondering if there is a way to "clear" the SYSOUT via a batch job. There may also be a setting in the HTTP server that will exclude these messages too which may be an even easier option. Any help is appreciated. Thanks, Jeff


Thousands of these messages

Ý111EC0E8 07/Apr/2015:05:09:51.474368¨: myauth had retcode 0.

Ý111EC0E8 07/Apr/2015:05:09:51.474469¨: myauth sending return_code 200.
chinatrain99
 
Posts: 12
Joined: Wed May 20, 2015 8:38 pm
Has thanked: 0 time
Been thanked: 0 time

Re: HTTP srvr way to clear SYSOUT while a job/task is runnin

Postby Robert Sample » Wed May 20, 2015 11:02 pm

In your httpd.conf file, what are AccessLogSizeLimit and ErrorLogSizeLimit set to? Practically, you might want to dummy out SYSOUT (although I haven't had a chance to research and verify that this is valid) and look at the logs through Unix System Services if any issues arise. You could also specify AccessLogExcludeReturnCode 200 to exclude them from the log.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: HTTP srvr way to clear SYSOUT while a job/task is runnin

Postby chinatrain99 » Wed May 20, 2015 11:14 pm

AccessLogSizeLimit 0
ErrorLogSizeLimit 0

I see this in there...looks to be an example
# AccessLogExcludeReturnCode 300
make it
AccessLogExcludeReturnCode 200

seems easy enough
chinatrain99
 
Posts: 12
Joined: Wed May 20, 2015 8:38 pm
Has thanked: 0 time
Been thanked: 0 time

Re: HTTP srvr way to clear SYSOUT while a job/task is runnin

Postby chinatrain99 » Wed May 20, 2015 11:19 pm

Thanks!!
chinatrain99
 
Posts: 12
Joined: Wed May 20, 2015 8:38 pm
Has thanked: 0 time
Been thanked: 0 time

Re: HTTP srvr way to clear SYSOUT while a job/task is runnin

Postby chinatrain99 » Wed May 20, 2015 11:27 pm

that should cut the messages by 1/2. is there a way to get rid of myauth had retcode 0.

Ý11203258 07/Apr/2015:05:01:37.295591¨: myauth had retcode 0.
chinatrain99
 
Posts: 12
Joined: Wed May 20, 2015 8:38 pm
Has thanked: 0 time
Been thanked: 0 time


Return to Operating Systems

 


  • Related topics
    Replies
    Views
    Last post