Re: Scripting SET HOST/DUP with Kermit (or other)?



In article <c0b9a91b-da0c-4acd-bba0-4a26c2b93fca@
24g2000hsh.googlegroups.com>, mckinneyj@xxxxxxxx says...
On Apr 2, 11:30 am, Ken.Fairfi...@xxxxxxxxx wrote:
On Apr 2, 6:48 am, Jim <mckinn...@xxxxxxxx> wrote:
[...]

You'll want to check out HSDSA-SCRIPT-ALPHA or HSDSA-SCRIPT-VAX . Seehttp://forums11.itrc.hp.com/service/forums/questionanswer.do;HP-FORUM...
or use google and search for the name of your choice.

Thanks for the pointer(s).  I found Hoff's VMS_CHECK.ZIP
via Google for HSDSA-SCRIPT-ALPHA on the ITRC System
Management forum and have downloaded it.  I'll try later
today to extract HSDSA-SCRIPT-ALPHA from it (I'm not
sure I want to install the whole kit yet...).

   Thanks again, Ken


I think that HSDSA-SCRIPT-ALPHA alone will be adequate for what you're
doing.

- Jim


If that doesn't pan out, maybe this would work with Kermit:

1) in Kermit, telnet 0 (local host)

2) log in, using your own username and password (unfortunately, I
can't think of any easy way to avoid putting the password in the
script.) [1]

3) once logged in, output (send to the telnet connection) the
"set host/dup..." command

4) follow with your various "show ..." commands, parsing and/or
logging the results as needed.

5) exit from set host/dup (ctrl/], IIRC)

6) log off the telnet session

All this can be done in a Kermit script, and to "set host/dup"
and to the HSJ looks like you are typing it all interactively.

[1] C-Kermit supports SSH, but I don't think this is implemented
in the latest VMS version. If so, use that. If not, I'm sure
Frank would appreciate your implementing it! :-)

HTH

--
John
.



Relevant Pages

  • Re: Scripting SET HOST/DUP with Kermit (or other)?
    ... or use google and search for the name of your choice. ... via Google for HSDSA-SCRIPT-ALPHA on the ITRC System ... maybe this would work with Kermit: ... All this can be done in a Kermit script, and to "set host/dup" ...
    (comp.os.vms)
  • Re: Scripting SET HOST/DUP with Kermit (or other)?
    ... or use google and search for the name of your choice. ... via Google for HSDSA-SCRIPT-ALPHA on the ITRC System ... I think that HSDSA-SCRIPT-ALPHA alone will be adequate for what you're ...
    (comp.os.vms)
  • Re: Scripting SET HOST/DUP with Kermit (or other)?
    ... or use google and search for the name of your choice. ... via Google for HSDSA-SCRIPT-ALPHA on the ITRC System ... sure I want to install the whole kit yet...). ...
    (comp.os.vms)