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:
Reply To:
Date:
Tue, 1 Apr 1997 14:14:35 PST8
Content-Type:
text/plain
Parts/Attachments:
text/plain (55 lines)
Michael,

The "continue" before the "bye" is not needed in this version of the UDC.
The first 'cut' of the command, one hour ago, was not distinguishing 'jobs'
and 'sessions' and the 'bye' command was followed by an 'eoj'.  When I
tailor it for sessions I neglected to delete the 'continue'.

BTW I like the message on your 'tell' command much better than mine.

Regards
Paul Christidis



______________________________ Reply Separator _________________________________
Subject: (Fwd) Re: [HP3000-L] Limiting User logon
Author:  [log in to unmask] at CCGATE
Date:    04/01/97 01:33 PM


> 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