HP3000-L Archives

August 1999, Week 2

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:
Shawn Gordon <[log in to unmask]>
Reply To:
Shawn Gordon <[log in to unmask]>
Date:
Mon, 9 Aug 1999 07:44:42 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (72 lines)
from the manual

VEJOBINFO (jobtype,jobnum).attrvar

                    [???]     Returns the job attribute variable indicated
by
                              "attrvar" for the given job.  "Jobtype" is a
                              string and must be either "J" or "S";
"jobnum"
                              must be an integer expression.  "Attrvar"
must be
                              one of the job/session attribute variables
                              discussed in the "Job/Session Attributes"
chapter
                              of the MPEX User Manual.

VEJOBINFO (jobid).attrvar[???]Same as above, but "jobid" is a string of the
                              format '#J999' or '#S999'.


JSCOUNT (S)         [INT]     Counts the number of jobs or sessions that
match
                              the userset given by the string S; for
instance,
                              JSCOUNT("@.AP-MGR.AP&ONLINE") returns the
number
                              of sessions ("&ONLINE") that are logged on to
 the
                              AP account ("@.AP") but not as MGR.AP
                              ("-MGR.AP").  Note that the evaluation of +,
-
                              and & proceeds from left to right (unless you
 use
                              parentheses to override this).

                              "Usersets" are discussed in more detail in
the
                              SECURITY User Manual.






Jeff Keepers <[log in to unmask]> on 08/09/99 07:44:28 AM

Please respond to [log in to unmask]

To:   [log in to unmask]
cc:    (bcc: Shawn Gordon/IS/FHM/FHS)
Subject:  Using MPEX to check job status




All MPEX guru's hear my plea:

I am writing pre-process MPEX commands for a job that will run in batch.
The job can be run multiple times by the end user but two requests can't
run at the same time.  I was looking for a MPEX command/variable that would
let me look and see if the job is currently running.  There is the SHOWJOB
command, but it doesn't return a variable that I can check.  I can write
code that will set my own flags, but I thought there was a way to do this
using MPEX commands.  Any assistance would be most appreciated.

Please send replies directly to me since I only receive a digest from the
list.

Sincerely,
Jeff Keepers
3M Valley, NE

ATOM RSS1 RSS2