HP3000-L Archives

October 1997, Week 1

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:
Tracy Johnson <[log in to unmask]>
Reply To:
Date:
Wed, 1 Oct 1997 03:05:10 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (64 lines)
Below is a little job that I cooked up once.  It uses VESoft's MPEX/3000
(but I don't think it requires SECURITY/3000.)  It uses the MPEX %REPEAT
... %FORJOBS construct.  It is suitable for those shops that want to
stream only one job per account.

Preconditions are:

The jobfence should be set at SEVEN.

The INPRI of all jobs to be affected should be SEVEN or lower.

---

!JOB JOBSCHED,OPERATOR.SYS;OUTCLASS=LP,4;HIPRI;PRI=DS
!RUN MAIN.PUB.VESOFT,MPEX;NOCB
SETVAR HPAUTOCONT TRUE
WHILE JSCOUNT("JOBSCHED,OPERATOR.SYS&EXEC") = 1 DO
   PAUSE 1
   REPEAT
      IF
JSCOUNT("@,@.prodacct-permnent,job.prodacct&EXEC&BATCH")=0
            :ALTJOB ![RJOB.FMTJOB];INPRI=8
            :TELLOP  &dA ALTERING ![RJOB.FMTJOB] ![RJOB.FMTLOGON]
            :ECHO   ALTERING ![RJOB.FMTJOB] ![RJOB.FMTLOGON]
            PAUSE 5
      ENDIF
   CONTINUE
   FORJOBS
@,@.prodacct&WAIT
   PAUSE 90
ENDWHILE
EXIT
!EOJ

--

The job as shown works for one ACCOUNT.  For this to affect more than
one ACCOUNT add another %REPEAT ... %FORJOBS construct.  Also note the
exception on the IF JSCOUNT line.  This particular account ALWAYS had to
have a certain job running all the time besides any others.

This job works in a similar fashion to the Chant below:

---

Pie Iesu domine, dona eis requiem.
     [bonk]
Pie Iesu domine,...
     [bonk]
 ...dona eis requiem.
     [bonk]
Pie Iesu domine,...
     [bonk]
...dona eis requiem.

---

Tracy Johnson
ANSWERS, Manhattan Beach, CA
Minister of Propaganda, Justin Thyme Productions
[log in to unmask]
"Semper Pollus"
 ADC-2239-5531

ATOM RSS1 RSS2