HP3000-L Archives

May 1999, Week 4

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:
"Stigers, Greg [And]" <[log in to unmask]>
Reply To:
Stigers, Greg [And]
Date:
Tue, 25 May 1999 14:18:56 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (54 lines)
X-no-Archive:yes
MPE does not exactly give you this for free, but gives you all the pieces to
build it. You could roll your own wrapper to do something like this, an XEQ
to take your job name, stream it, wait for it to end in any state, then
interpret how it ended, at the cost of an additional session or job per job
streamed, assuming program failures result in job aborts.

Then, instead of directly MPE-streaming your jobs, you use the wrapper to do
it, or, a la VeSoft, create a STREAM UDC to 'replace' STREAM, to use your
wrapper logic in addition to the MPE stream command. Either way, you don't
have to change the jobs, just the method of streaming them, either with a
single UDC or some means to replace all occurrence of STREAM in a set of
jobs with your XEQ wrapper. We used something like this to handle some batch
processing, where one job used this logic for a series of job streams.

The notification is up to you. I have TELLs here, and you can certainly add
TELLOPs or anything else you like. You might look at using the smbclient to
send an NT / WinPopUp alert to the streamer. You can use TelAlert's
well-respected pager software for notification. These cover session users,
PC users, and roaming users; if there are other options, they escape me (no
pun intended).

This is some of what we use; there are a few considerations on how you want
to set JobName, but I assume that this is set correctly, letting STREAM fail
if it isn't, rather than parsing for it:

PARM JobName
STREAM JobName
PAUSE JOB=!HPLASTJOB
ERRCLEAR
LISTSPF O@;SELEQ=[JOBNUM=!HPLastJob AND JOBABORT=FALSE]
IF CIERROR OK
   TELL !HPSTREAMEDBY;!HPLastJob !JobName ended.
ELSE
   TELL !HPSTREAMEDBY;!HPLastJob !JobName aborted.
   ESCAPE
ENDIF

I would be fascinated to know what those who just periodically LISTSPF
O@;SELEQ=[JOBABORT=FALSE] do to minimize the number of silly aborts they see
and how they handle their STDLists for aborted jobs, once they have examined
them.

-----Original Message-----
From: Steve P [mailto:[log in to unmask]]
Sent: Monday, May 24, 1999 5:49 PM
To: [log in to unmask]
Subject: Notification of aborted jobs


Does the MPE OS have any facility that would notify (similar to a TELL
or TELLOP command) some session-id of a given batch job completing
successfully or aborting?

ATOM RSS1 RSS2