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:
Frank Gribbin <[log in to unmask]>
Reply To:
Frank Gribbin <[log in to unmask]>
Date:
Wed, 8 Jan 2003 11:36:03 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
Hi Jon,

You could always create a file at the end of the job and test for it in
your loop.

Regards,

Frank Gribbin
Potter Anderson & Corroon LLP


On Wed, 8 Jan 2003 11:21:12 -0500, Jonathan M. Backus
<[log in to unmask]> wrote:

>        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