Re: Ping in web server command file
- From: JF Mezei <jfmezei.spamnot@xxxxxxxxxxxx>
- Date: Wed, 17 May 2006 17:25:28 -0400
Chuck Aaron wrote:
Does anyone have the dcl tcpip command "ping" set up in a webserver
command file
that returns the results and tests the results for validity...anything
like that at all?
If so, please email me the dcl setup to take a look at.
PLEASE DO NOT POST IN HTML. THIS IS A TEXT NEWSGROUP.
$ ip = 1.2.3.4
$ PING == "$SYS$SYSTEM:TCPIP$PING.EXE"
$
$ define/user/nolog sys$output nla0:
$ define/user/nolog sys$error nla0:
$ on error then continue
$ ping -c 1 -t 2 'ip
$ if $status .and. 1
$ then
$ flag = "1"
$ good = good + 1
$ else
$ flag = "0"
$ bad = bad + 1
$ endif
.
- Follow-Ups:
- Re: Ping in web server command file
- From: Mike Robinson
- Re: Ping in web server command file
- Prev by Date: Re: Multiple DECW$Sessions on one X terminal ?
- Next by Date: Re: Results of my straw poll.
- Previous by thread: SORT, LEF, SYS$PUT and COBOL
- Next by thread: Re: Ping in web server command file
- Index(es):