HP3000-L Archives

April 1997, 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:
"Michael D. Hensley" <[log in to unmask]>
Reply To:
Date:
Tue, 1 Apr 1997 13:08:18 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
> 1. create the following command file and save it as 'xeqtell.cmd.sys' or
> whichever name you prefer.
>
>   setjcw cierror=0
>   tell !hpjobname,!hpuser.!hpaccount Hi
>
> 2. On your 'logon' udc do the following
>   ...
>   if hpjobtype = "S" then
>     xeqtell.cmd.sys > $null
>     if cierror <> 1620  then
>       echo ****
>       echo Multiple logons are not allowed..
>       echo ****
>       continue
>       bye
>     endif
>   endif

Doh!  There *must* be something wrong with this; it's *way* too simple!  Well,
if you don't want a "tell" message sent to the original session, see my post
on this thread.

(Nice job! I'm not sure what the "continue" before the "bye" is supposed to
do, though.  If the "bye" fails, you want the udc to finish?)

Change the tell to
tell !hpjobname,!hpuser.!hpaccount Someone else is trying your signon.

And, just for fun, add a SETJCW CIERROR 0 before the "xeqtell..." command.
---
Michael D. Hensley             |
Software Development Manager   | mailto:[log in to unmask]
Lund Performance Solutions     | http://www.lund.com

ATOM RSS1 RSS2