OPENMPE Archives

January 2003

OPENMPE@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:
Wyell Grunwald <[log in to unmask]>
Reply To:
Wyell Grunwald <[log in to unmask]>
Date:
Wed, 8 Jan 2003 11:39:57 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
Jonathan,

Do a PAUSE ;JOB=#J1234;WAIT to find out when it starts (continues as soon as it starts)

Do a PAUSE ;JOB=#J1234 to find out when if finishes (continues as soon as it finishes).

Wyell

>>> "Jonathan M. Backus" <[log in to unmask]> 01/08/03 11:21AM >>>
        I'm working on an A500 (MPE/iX 7.0).  It seems that JINFO only works
against jobs that are either executing or waiting.  If I do "CALC
JINFO('#J1234','EXISTS') it comes back TRUE for executing and waiting jobs
but if #J1234 is in the 'READY' state it comes back false.

while jinfo('!hplastjob','StdlistSPstate') <> "READY"
  echo processing...
  pause 5
endwhile

        I'm trying to wait for the job to finish but if the job is already finished
by the time it gets to the loop it fails with an error (Job does not exist.
(CIERR 3042)) even though the 'JINFO' documentation states that READY is one
of the possible responses for this option.  Anybody have any thoughts?

Thanx,
  Jonathan (Jon) M. Backus, MPE-CSM ~ President
  Tech Group ~ 15 Catawba Place ~ Hagerstown, MD ~ 21742-6515
  Email: [log in to unmask] ~ AIM: JMBackus
  Vmail: 301.988.0614 ~ Fmail: 301.714.1854
  Web: www.TechGroupMD.com

ATOM RSS1 RSS2