HP3000-L Archives

November 1996, Week 1

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:
Reply To:
Date:
Fri, 1 Nov 1996 09:18:33 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
     When I came in this morning none of my production jobs ran during the
     wee hours of the morning. The culprit was a Cobol program that did not
     have bounds in the $Control statement. An Index exceeded its maximum
     value of 500 & went into a loop.(CPU sec. = 29749. elapsed min. =559.)

     We aborted the job. Added bounds to the $Control statement. Ran the
     recompiled program and received very useful info:

      SUBSCRIPT/INDEX/REFMOD/DEP-ON out of BOUNDS
      range error
      ..........
      $$$ The variable 501 > 500 (limit)
      ****COB_QUIT 751*****

     In this instance the job aborted instead of going into a loop!

     My question is:
     1) Is there a way, I could periodically, say once an hour after 10 PM,
        check to see if executing jobs(excluding a list of jobs that are
        always executing) exceeded:
                xxxxx CPU seconds or
                yyyyy elapsed minutes
        and abort them if they did.

     2) Is there a way to abort any job asking for a tape mount/tape reply
        after 10 PM since there are no operators at this time. This screws
        up production also.

        I have MPE/iX.


     Note: Fortran/Pascal require $CODE_OFFSETS ON,TABLES ON,RANGE ON$

ATOM RSS1 RSS2