HP3000-L Archives

December 2003, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bob McGregor <[log in to unmask]>
Reply To:
Bob McGregor <[log in to unmask]>
Date:
Mon, 8 Dec 2003 13:15:22 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (85 lines)
thanks james,

It was me who asked.  I created a job using JCL to do what I wanted. This particular one uses only MPE commands. The output is a summarize logtool command for each LOG####.PUB.SYS file found. This does what I wanted.  I am posting it here in case anyone else is interested.

bob
--------- begin job ----------------------------------
!JOB LOGTOOL,MANAGER.SYS;INPRI=9;OUTCLASS=HOLD,7
!COMMENT Job to go into Logtool and perform a summarize command
!COMMENT on each logfile for error visibility.
!COMMENT
!COMMENT Logbuild will format the use file for performing the
!COMMENT summarize command in logtool
!CONTINUE
!PURGE LOGINPUT
!build tfile;temp;rec=-80,,f,ascii
!option list
!file tfile,oldtemp
!listf log####.pub.sys,6 > *tfile
!SETVAR P_EOF,FINFO("*TFILE","EOF")
!PRINT *TFILE;START=2;END=2 > TFILE1
!INPUT P_LOGNUM < TFILE1
!SETVAR P_LOG,![STR("!P_LOGNUM",4,4)]
!PRINT *TFILE;START=!P_EOF;END=!P_EOF > TFILE1
!INPUT P_LOGEND < TFILE1
!SETVAR P_LOGLAST,![STR("!P_LOGEND",4,4)]
!build loginput;rec=-80,,f,ascii
!file login=loginput,OLD
!ECHO LOGTOOL > *LOGIN
!WHILE P_LOG < P_LOGLAST DO
!   comment SETVAR P_LOG,STR("!P_LOGNUM",4,4)
!   ECHO SUMMARIZE LOG=!P_LOG >> *LOGIN
!   SETVAR P_LOG, !P_LOG + 1
!ENDWHILE
!ECHO EXIT >> *LOGIN
!ECHO EXIT >> *LOGIN
!COMMENT here we are running SYSDIAG and then the Logtool commands
!run dui.diag.sys;xl="xl.diag.sys,nl.pub.sys";info="usefile LOGINPUT"
!EOJ
------------- End Job -----------------------------

On Monday, December 8, 2003 11:01 AM, James R. Reynolds <[log in to unmask]> wrote:
>Sorry I don't remember who posted last week, but someone was wanting a
>job that could set the logfile numbers and do a summarize on the
>logfiles.. Well I have one..but it requies MPEX and Qedit to run . if
>you are interested...
>
>James
>
>
>James R. Reynolds
>HP 3000 System Engineer
>Time-Life Customer Service
>1450 E. Parham
>Richmond, VA 23228
>Phone:  804-261-1348
>Email:   [log in to unmask]
>Your mind understands what you have been taught; your heart, what is
>true.
>
>
>
>
>
>-----------------------------------------------------------------------
>
>This message is the property of Time Inc. or its affiliates. It may be
>legally privileged and/or confidential and is intended only for the use
>of the addressee(s). No addressee should forward, print, copy, or
>otherwise reproduce this message in any manner that would allow it to be
>viewed by any individual not originally listed as a recipient. If the
>reader of this message is not the intended recipient, you are hereby
>notified that any unauthorized disclosure, dissemination, distribution,
>copying or the taking of any action in reliance on the information
>herein is strictly prohibited. If you have received this communication
>in error, please immediately notify the sender and delete this message.
>Thank you.
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit
>http://raven.utc.edu/archives/hp3000-l.html *
>

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2