HP3000-L Archives

July 2005, 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:
Paul H Christidis <[log in to unmask]>
Reply To:
Paul H Christidis <[log in to unmask]>
Date:
Thu, 7 Jul 2005 13:31:14 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (121 lines)
James,

The position of the "^" in the error message seems to be pointing well
beyond the specified pause interval of 2 seconds.  Is it possible that
there is some 'stray' character at the far end of the record? Is the your
job stream file kept numbered and perhaps the record number is somehow
interfering?

If you indeed wish to wait until the submitted job finishes then perhaps
you should consider using the following form of the 'pause' command:
        pause job=!hplastjob

Regards
Paul Christidis





I'm running a stream job that streams other jobs. The job waits until the
other stream jobs are finished before continuing. Here's a snippet of the
job that streams the other jobs:

=============================== BEGIN
=======================================
!    STREAM BPIPOST.JOB
!
!comment -----------------------------------------------------------------
!comment Wait until the job is finished before continuing
!comment -----------------------------------------------------------------
!    SETVAR START_CPU HPCPUSECS
!    WHILE NOT FINFO("BPIPSTOK.JOB","EXISTS") AND &
!         HPCPUSECS-START_CPU < 20 DO
!         PAUSE 2
!    ENDWHILE
!    DELETEVAR START_CPU
=============================== END
=======================================

When the BPIPOST job finishes, it creates the file BPIPSTOK.JOB so that
the
WHILE loop will end. This process works pretty well. However,
occasionally,
I'll get the following errors:

=============================== BEGIN
=======================================
 :    STREAM BPIPOST.JOB
  #J3612
 :
 :comment
-----------------------------------------------------------------
 :comment Wait until the job is finished before continuing
 :comment
-----------------------------------------------------------------
 :    SETVAR START_CPU HPCPUSECS
 :    WHILE NOT FINFO("BPIPSTOK.JOB","EXISTS") AND &
 :         HPCPUSECS-START_CPU < 20 DO
 *** EXPRESSION TRUE
 :         PAUSE 2
 :    ENDWHILE

 PAUSE 2
                ^
 Number of pause seconds is out of range. (CIERR 9030)
 Error executing commands in WHILE loop. (CIERR 10310)
 REMAINDER OF JOB FLUSHED.
 CPU sec. = 7.  elapsed min. = 6.  WED, JUL  6, 2005,  8:36 PM.
=============================== END
=======================================

I looked up the CIERR 9030 in the HP manuals and here's what it says:

9030       MESSAGE    NUMBER OF PAUSE SECONDS IS OUT OF RANGE. (CIERR
9030)

           CAUSE      Evidently, you supplied the PAUSE command with a
negative value.

           ACTION     Reenter the command and supply a positive integer.

Obviously, the number of pause seconds I'm specifying is not negative.
Does
anyone know of another reason why this would happen? Could this error
occur
if the system is loaded down with running other jobs?

Thanks,

Jim.

---------------------------------
James English
Financial Systems Analyst
MIS Department
TB Wood's Incorporated
440 N Fifth Avenue
Chambersburg, PA 17201
Phone: (717) 264-7161 x2119
Fax: (717) 264-0890
[log in to unmask]
http://www.tbwoods.com
---------------------------------


This e-mail is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information. Any
review, dissemination, copying, printing, forwarding or other use of this
e-mail by persons or entities other than the addressee is prohibited. If
you have received this e-mail in error, please contact the sender
immediately and delete the material from your computer. Opinions,
conclusions and other information in this message that do not relate to
the official business of TB Woods Incorporated shall be understood as
neither given or endorsed by it.

* 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