HP3000-L Archives

November 2002, 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:
"Bartram, Chris (Contractor)" <[log in to unmask]>
Reply To:
Bartram, Chris (Contractor)
Date:
Mon, 4 Nov 2002 09:55:43 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (82 lines)
Maybe this command file will help?

Execute it with some string (the ldev# ? ) which will appear in the reply
message, and it'll set a CIVar for you (REPPIN) which you can then
:REPLY !REPPIN,Y
to...

 -Chris Bartram

parm repstring

comment Command file: RECLOOK
comment Author: Chris Bartram, 8/4/2000
comment  parm accepts word to look for among pending reply requests
comment  when found, _reppin is set to the pin# of the reply and
comment  _repmsg is set to the entire message
comment

continue
purge recfile,temp > $NULL
build recfile;temp;rec=-160,,f,ascii;msg
file rco=recfile,oldtemp;acc=append
file rci=recfile,oldtemp;acc=in

setvar _reppin ""
setvar _repmsg ""

setvar hpcierror 0
recall > *rco

if !hpcierror=0 then
  setvar _numr finfo("recfile","eof")
  comment first, eat the header record
  input _recf < *rci
  setvar _numr !_numr -1
  WHILE !_numr>0 DO
    input _recf < *rci
    if pos("!repstring",'!_recf')>0 then
      setvar _reppin word('!_recf',"/",3)
      setvar _repmsg '!_recf'
      setvar _numr 0
      echo Found Request !_repmsg
     else
      setvar _numr !_numr -1
    endif
  ENDWHILE
endif

continue
purge recfile,temp > $NULL

deletevar _recf
deletevar _numr
reset rci
reset rco


-----Original Message-----
From: John Korb [mailto:[log in to unmask]]
Sent: Saturday, November 02, 2002 12:31 AM
To: [log in to unmask]
Subject: [HP3000-L] Automatic REPLY to tape request

I need to have a way of having a tape request automatically REPLY'd
to.  There will not be anyone on site, and the tape request will be for a
backup tape, so the network will be down (thus, no remotely issuing the
REPLY).  The tape drive is a DDS3 drive and is NOT configured for autoreply.

Does anyone have any suggestions as to how accomplish the REPLY?  Is there
a tool in TELESUP or SUPPORT that will accomplish this?  What about a
command script that will accomplish an automated REPLY?

Thanks!

John

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

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

ATOM RSS1 RSS2