Chinaunix

标题: 如何清除日志 [打印本页]

作者: 1112    时间: 2006-11-06 11:30
标题: 如何清除日志
在DSPLOG有很日志,在那里清除呢?用什么命令呢?
作者: jance    时间: 2006-11-06 11:58
可以使用以下命令清除相关信息:CLRMSGQ QSYSOPR、WRKOUTQ
有可能还需要清理PRB和HST*那就使用相关命令清理就ok了
作者: pantierui    时间: 2006-11-06 13:38
GO CLEANUP
还可以去设置清除的日数.
作者: qingzhou    时间: 2006-11-06 16:02
WRKF FILE(QHST*)
然后根据实际情况删除无用的LOG文件。
作者: 1112    时间: 2006-11-07 17:06
Work with Files

Type options, press Enter.
   1=Create   3=Copy   4=Delete   5=Display physical file member
   8=Display file description     9=Save   10=Restore   13=Change description

Opt  File        Library     Attribute   Text

      QABNDBND    QSYS        PF          Output file for PRTERRLOG *ANZLOG
      QABNDMBA    QSYS        PF          System supplied outfile for DSPBNDDIR
      QABNDMCO    QSYS        PF          System supplied outfile for DSPMOD co
      QABNDMEX    QSYS        PF          System supplied outfile for DSPMOD co
      QABNDMIM    QSYS        PF          System supplied outfile for DSPMOD co
      QABNDMPR    QSYS        PF          System supplied outfile for DSPMOD co
      QABNDMRE    QSYS        PF          System supplied outfile for DSPMOD co
      QABNDMSI    QSYS        PF          System supplied outfile for DSPMOD co
      QACJINFO    QSYS        PF          System supplied outfile for DSPMOD co

                                                                        More...
Parameters for options 1, 3, 4, 5, 8, 9, 10 and 13 or command
===>
F3=Exit      F4=Prompt   F5=Refresh   F9=Retrieve   F11=Display names only
F12=Cancel   F16=Repeat position to   F17=Position to   F24=More keys
----------------------
这么多,那个是我DSPLOG里的日志呢?
作者: qingzhou    时间: 2006-11-07 23:30
哎,是执行WRKF FILE(QHST*) ,而不是执行WRKF。
作者: jance    时间: 2006-11-08 09:38

作者: jackyhue    时间: 2006-11-14 12:02
都实践了,但是还是没有删掉DSPLOG显示出来的日志
作者: jackyhue    时间: 2006-11-15 14:22
怎么清除DSPLOG显示出来的日志?
作者: xuguopeng    时间: 2006-11-15 18:04
你把QHST*的文件删除后,因为系统LOG是激活的,所以并不能完全清空,只有LOG形成一定的量以后才会生成QHST*的文件,之前放在哪我不知道.........
作者: star33375249    时间: 2008-09-30 00:37
标题: 回复 #6 qingzhou 的帖子
不要叹气,都是新手..哈
作者: 高深100    时间: 2009-06-22 09:54
gooooooooooood




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2