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 *
|