View previous topic :: View next topic |
Author |
Message |
chinatrain99 Beginner
Joined: 25 Nov 2014 Posts: 7 Topics: 5
|
Posted: Wed Dec 03, 2014 3:52 pm Post subject: Can you clear a SYSLOG of a running task? |
|
|
I've been looking around forum/google and I don't see JCL to clear out a SYSLOG while the task is running. I have an HTTP server that puts a lot of info into SYSLOG and takes up more and more of jes spool. Also, MQMASTER puts a lot of records out to JESMSGLG. Is there a way to clear these out via JCL or suppress some of the messages? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
Posted: Wed Dec 03, 2014 4:01 pm Post subject: Re: Can you clear a SYSLOG of a running task? |
|
|
chinatrain99 wrote: | I've been looking around forum/google and I don't see JCL to clear out a SYSLOG while the task is running. I have an HTTP server that puts a lot of info into SYSLOG and takes up more and more of jes spool. Also, MQMASTER puts a lot of records out to JESMSGLG. Is there a way to clear these out via JCL or suppress some of the messages? |
If you know the message numbers that you want to suppress, then issue D MPF command and then overtype YES under the supress column.
Alternatively you can use this USER EXIT PROGRAM TO REMOVE MESSAGES FROM CONSOLE, SYSLOG AND JOBLOG shown here
http://www.ibm.com/support/docview.wss?uid=isg1II07592 _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
chinatrain99 Beginner
Joined: 25 Nov 2014 Posts: 7 Topics: 5
|
Posted: Wed Dec 03, 2014 4:29 pm Post subject: |
|
|
They're not really messages...just stuff.
this is from the HTTP server (MQ below) Code: |
Ý11205278 03/Nov/2014:05:38:48.346422¨: myauth had retcode 0.
Ý11205278 03/Nov/2014:05:38:48.346502¨: myauth sending return_code 200.
Ý111F0128 03/Nov/2014:05:38:48.847424¨: myauth had retcode 0.
Ý111F0128 03/Nov/2014:05:38:48.847681¨: myauth sending return_code 200.
Ý111F0128 03/Nov/2014:05:38:51.906745¨: myauth had retcode 0.
Ý111F0128 03/Nov/2014:05:38:51.906944¨: myauth sending return_code 200.
MQMSTR these don't look like something I want to suppress...(I just want to clean out monthly without having to bounce).
CSQP019I !MQS CSQP1DWP CHECKPOINT COMPLETED FOR 592
BUFFER POOL 1, 62 PAGES WRITTEN
CSQM297I !MQS CSQMDRTC NO CONN FOUND MATCHING REQUEST CRITERI
CSQ9022I !MQS CSQMDRTC ' DISPLAY CONN' NORMAL COMPLETION
CSQP021I !MQS Page set 0 new media recovery 593
RBA=0435DF296D7D, checkpoint RBA=0435DF296D7D
CSQP021I !MQS Page set 1 new media recovery 595
RBA=0435DF1A4812, checkpoint RBA=0435DF1A4812
CSQP021I !MQS Page set 2 new media recovery 596
RBA=0435DF296D7D, checkpoint RBA=0435DF296D7D
CSQP021I !MQS Page set 3 new media recovery 597
RBA=0435DF296D7D, checkpoint RBA=0435DF296D7D
CSQP018I !MQS CSQPBCKW CHECKPOINT STARTED FOR ALL BUFFER POOL
CSQP019I !MQS CSQP1DWP CHECKPOINT COMPLETED FOR 642
BUFFER POOL 0, 0 PAGES WRITTEN
CSQP019I !MQS CSQP1DWP CHECKPOINT COMPLETED FOR 643
BUFFER POOL 2, 0 PAGES WRITTEN |
|
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
Posted: Wed Dec 03, 2014 4:48 pm Post subject: |
|
|
chinatrain99 wrote: | They're not really messages...just stuff.
this is from the HTTP server (MQ below) |
The Initial stuff that you shown must be written from a program. Can't you simply turn it off?
You can add a filter to delete all the message that start with CSQ* using that exit.
Also check this link which explains the usage of CODE tags in your posts
http://www.mvsforums.com/helpboards/viewtopic.php?p=19031#19031 _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
vern Beginner
Joined: 28 Nov 2014 Posts: 1 Topics: 0
|
Posted: Thu Dec 04, 2014 2:25 am Post subject: |
|
|
chinatrain99,
For a normal sysout ddname (i.e. not JESMSGLG) you can use SEGMENT= to spin off from the JES spool. Provided it is RECFM=xA.
Probably not applicable in this case, but worth mentioning I think |
|
Back to top |
|
|
|
|