On Thu, 5 Oct 1995 14:38:53 -0700 Donald Timmonds Harrington said:
>Sigh.  Well, many fine ideas of how to use SYSDIAG to do what I want,
>to no avail.  I've tried using MPEX's ;input and using I/O redirection
>from a file - neither of which work.
>
>If any of you fine HP3000 gurus can think of another way to make this
>work without me having to write a program, I would be forever (well,
>maybe not _forever_) greatful.
 
Assuming you can get a list of ldevs you want to reset, the following
command file will reset a given ldev.  You could modify this to reset
a list of ldevs in your case.  Anyway...
 
parm ldev="0"
if "!ldev"="0" then
   echo "** No ldev specified"
   escape
   endif
setvar hpmsgfence 2
purge fix!ldev,temp
purge fix!ldev
setvar hpmsgfence 0
echo run termdsm > fix!ldev
echo reset >> fix!ldev
echo l !ldev >> fix!ldev
echo exit >> fix!ldev
echo exit >> fix!ldev
echo exit >> fix!ldev
save fix!ldev
run dui.diag.sys;xl="xl.diag.sys,nl.pub.sys";info="use fix!ldev"
purge fix!ldev
 
[\] Jeff Kell <[log in to unmask]>