HP3000-L Archives

September 2001, 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:
Ronald R Horner <[log in to unmask]>
Reply To:
Ronald R Horner <[log in to unmask]>
Date:
Tue, 25 Sep 2001 09:32:52 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (56 lines)
MPEX has a looping function called forjobs.  Here is an example that may shead
some light on what you want.


> repeat
>   if ![rjob.isexec] then
>      setvar fj '![strwrite("![rjob.fmtjob]":8)]'
>      echo !fj ![rjob.currentcmd]
>   endif
> forjobs batch
>

This script will display the running jobs and the last command that was
executed.  If the job is running a program, shows the full run statement.  Here
is what you get when you run this script.


> #J7883   RUN FTPCTL2.RSFTCODE;XL='XL.CODE2.!SG2VER,XL.PUB.!SG2VER'
> #J7888   RUN BTCHSHIP.CODE2.!SG2VER;LIB=G;PARM=25
> #J7860   RUN MSGUPDT.CODE2.!SG2VER;LIB=G;PARM=0
> #J7828   RUN main.pub.vesoft,mpex;parm=1
> #J7914   RUN FMSOUTPT.CODE2.!SG2VER;LIB=G
> #J7873   RUN WMSCTLBL.RSFTCODE;XL='XL.CODE2.!SG2VER,XL.PUB.!SG2VER'
> #J7864   RUN WMSCTLIV.RSFTCODE;XL='XL.CODE2.!SG2VER,XL.PUB.!SG2VER'
> #J7872   RUN FTPCTL2.RSFTCODE;XL='XL.CODE2.!SG2VER,XL.PUB.!SG2VER'
> #J7865   RUN WMSRTRNS.RSFTCODE;XL='XL.CODE2.!SG2VER,XL.PUB.!SG2VER'
>

You like???  Any other questions, just give me a call.

Later

Bev Clancy wrote:

> I want to see how many people at any given time are running a particular
> program with a Parm of 2.  MPEX  Listf ,Access will show me how many people
> are accessing it, but does not show me if they ran it with a parm.  How can
> I find this out?  TIA.
>
> Bev Clancy
> MicroWarehouse
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

--
Ron Horner
HP3000 Systems Administrator
JCPenney Logistics
[log in to unmask]
(414) 259-2274
AIM: hornerrr

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2