HP3000-L Archives

May 1996, Week 5

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:
Bob Gerade <[log in to unmask]>
Reply To:
Bob Gerade <[log in to unmask]>
Date:
Fri, 31 May 1996 13:14:43 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (80 lines)
I believe this will do what you want as long as the remote machine has an option
logon, nobreak UDC.  Replace the remote hello ... on the series 70 with:
 
remote Hello !hpuser.!hpacct;dsline=nodename;parm=1;info="bye"
 
this will logon the remote machine, run the option logon program and when you
exit the program will issue a 'BYE' and will disconnect back to the 70.
 
** Bob Gerade  M/A-COM, Inc. [log in to unmask]  (508)442-4054 **
 
 
 
 
 
______________________________ Reply Separator _________________________________
Subject: Automating node switching (using NS) for testing of new syst
Author:  Mike Liening <[log in to unmask]> at corp
Date:    5/15/96 3:33 AM
 
 
Hi all,
We recently received our new 937 that will replace our againg series 70.
When we get around to having our end-users test their apps on the 937,
I'm creating UDC's that will simplify switching between the two systems
(using NS).   I guess I could go around to each user and give them two
icons, one for the 70 and one for the 937, but that would cause
too much confusion.  Anyway... here's the problem:  When we're ready for
testing, I'll install a logon UDC on the 70 for, say, USER1.ACCT1.  This
UDC does a DSLINE and a REMOTE HELLO to automatically log them on to the
937 as USER1.ACCT1, and a logon UDC there starts up their app.  That part
works fine, but when they end their app, I want to log them off the 937,
switch back to the 70 and log them off there.  Here's what I've tried:
 
UDC on the 70:
start
option logon
dsline ......
remote hello .....
bye
 
UDC on the 937:
start
option logon
run app
bye
 
Now, this won't work because when the bye is issued in the 937 UDC, the
user will get the MPE/XL prompt and won't be switched back to the 70 to do
the bye there.  What could work is to switch to the 70 without doing a
bye, and doing a REMOTE BYE in the 70's UDC.  For a user that has access
to MPE (this user doesn't, he logs in to run the app, when the app is
done, it logs off), you can enter a   : <cr> (type a colon, press return)
 and you'll be switched back to the local host (the 70), but this doesn't
seem to work within a UDC.  If it would work, it would look like:
 
UDC on the 70:
start
option logon
dsline .....
remote hello ....     <- control is transfered to the 937's logon udc
remote bye            <- when control comes back, logoff from the 937
bye                   <- logoff the 70
 
UDC on the 937
start
option logon
run app
:       <- when user exits the app, switch back to the 70
 
When the user exits the app, and the UDC tries to execute the colon
command, it fails with:
THE FIRST CHARACTER IN THE COMMAND NAME MUST BE ALPHABETIC. (CIERR 9090)
 
Anybody have an elegant way to accomplish this?  (or not too elegant, but
somewhat transparant to the user)  Or should I go around and install
another icon pointing to the 937?
 
Thanks,
-Mike-

ATOM RSS1 RSS2