Subject: | |
From: | |
Reply To: | |
Date: | Thu, 5 Oct 1995 10:41:56 PST |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Since 'sysdiag' is a command file you may need to try:
repeat
run dui.diag.sys;xl="xl.diag.sys,nl.pub.sys";input="termdsm" &
input="reset";input="LDEV ![rjob.ldevin]";input="EXIT"
forjobs accessing=dtabasename
Paul Christidis
______________________________ Reply Separator _________________________________
Subject: 1:Using MPEX to run SYSDIAG/TERMDSM
Author: [log in to unmask] at CCGATE
Date: 10/5/1995 9:31 AM
Gang,
I'm trying to set up a job that will find all users that are still
using a database, and perform a TERMDSM/RESET on their ports. I got
a possibility from someone on the hp3000-l as follows:
repeat
sysdiag;input=termdsm;input=reset;input=LDEV ![rjob.ldevin];
inout=EXIT
forjobs accessing=databasename
I tried this interactively without the repeat ... forjobs, and MPEX
didn't like the format of the sysdiag;input=. So, I set the job
up to do the commands in sequence inside the loop. This ran SYSDIAG
fine, then EXITed right away and tried to run TERMDSM, which failed.
I woul sure appreciate any help you can give me on this. I had the
job just running through a list of all our active ldevs, but this
caused a problem with another location that is on a different
backup schedule than we are.
TIA,
I know the thoughts expressed here are my own because no one else would claim
them!
Don Harrington [log in to unmask]
Boeing Commercial Airplane Group Phone: 206-931-4457
PO Box 3707 MS 5J-34 FAX: 206-931-9085
Seattle, WA 98124-2207
|
|
|