From: CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 26-NOV-1989 18:55 To: MRGATE::"ARISIA::EVERHART" Subj: VAX User to Decserver Service Message-Id: <8911251341.AA21273@crdgw1.ge.com> Received: From UTADNX.CC.UTEXAS.EDU by CRVAX.SRI.COM with TCP; Thu, 23 NOV 89 21:14:53 PDT Date: 23 Nov 89 23:05:00 CDT From: "MDACC::LNEWT" Subject: VAX User to Decserver Service To: "info-vax" (This may eventually show up twice - it disappeared once) Thanks very much to the several(at least 8) people who responded. Part of the message I originally posted: > What I would really like to have is a command on the VAX at the $ prompt >that is equivalent to the connect command at the terminal server local> >prompt. This would allow the user to log in to the other hosts. This is what works: $LATCP LCP> CREATE PORT LTA888 /APPLICATION LCP> SET PORT LTA888 /NODE=TSREV /SERVICE=IBM [/PORT=5] LCP> EXIT $SET PROTECT=(W:RWLP)/DEVICE LTA888: $SET HOST/DTE LTA888 CONNECTED ...... USE ^\ TO RETURN I made my first trials under VMS 4.7 and it worked reasonably well, although it seemed slow and jerky. On Sunday 19-NOV we went to VMS 5.1-1 and it seems to have improved things noticably. I recall now that I tried this same thing under VMS 4.3 or 4.4 and it was not acceptable for users as it was quite flakey. Note that typed character echo still lags noticably. If the port number is not specified, then it contends for available ports with the same service. If it is specified, then only that port is accessed. Since I have 20 sessions configured on the Decsa, I leave off the /PORT=. I also have at least 5 DS 200's providing services so I will need a number of LTA ports. If more than one person on a VAX requires simultaneous access it will be necessary to create enough LTA devices to accomodate them. It seemed simple enough to write a DCL procedure to cycle through several ports and find one open. The DS200 servers seem to perform well enough. The DECSA is connected to an IBM 7171 protocol converter on a 4381. The output from this setup stopped at what looked like some buffer size for so long (7 seconds) as to be almost unusable under VMS 4.7, it now works better under VMS 5.1. There is also the likely possibility that in the 20 Decsa/IBM 7171 connections there is a flakey one. Caveat: Keyboard mapping is one big headache - you are on your own. Here is a start of a command file to provide multiple accesses for users. I can guarantee it has bugs since it is not complete. Use at your own risk. Besides I don't claim any of this is really correct. Create ports LTA8888 and LTA8889 as above. $ ! Connects Terminal User to Available Port on TSREV Service IBM $ FIRST_PORT = 8888 $ LAST_PORT = 8889 ! PORT DEFINITIONS MUST BE SEQUENTIAL $ PORT = FIRST_PORT $ SET MESSAGE/NOFACIL/NOIDEN/NOSEV $TRYPORT: $ WRITE SYS$OUTPUT " TRY PORT LTA''PORT'" $ ON SEVERE THEN CONTINUE $ DEFINE/USER SYS$INPUT SYS$COMMAND $ SET HOST/DTE LTA'PORT': $ SHOW SYMBOL $STATUS $ IF $STATUS THEN GOTO DONE ! DISCONN BY ^/ $ ! IF $STATUS .EQ. %X??? THEN GOTO ?? ! SERVICE FULL OR NOT AVAIL $ IF $STATUS .EQ. %X2CC THEN GOTO DONE ! DATA SET HANGUP $ IF $STATUS .NE. %X2C4 THEN GOTO DONE ! .NOT. DEVICE ACTIVE $ PORT = PORT + 1 $ IF PORT .LE. LAST_PORT THEN GOTO TRYPORT $ WRITE SYS$OUTPUT "NO AVAILABLE PORT" $DONE: $ WRITE SYS$OUTPUT " CONNECTION TO IBM SERVICE TERMINATED" $EXIT Notes: Normal return from the service creates Dataset Hangup which is reported as a Fatal error. I have not determined what the service full error code is. I have heard that there is a Dec product to do this function. It is called DECtse and is part of Network ASSETS. I will check with my DEC salesman when I find him. Check next to last section of 1989 Decus Network Session Notes. (From Selden Ball) BTW, one suggestion was to access the console port on the server through NCP. This is not really an option because: 1) Some servers are managed by other groups who have nondefault passwords. 2) If the console port is busy, the manager is denied access. 3) I didn't want to admit that one of these servers is an ancient DECSA 32 line server. The console port on that thing requires a major software load to fire it up, and then it conks out at the least excuse. _________________________________________________________________________ Lawrence Newton | THENET MDACC::LNEWT Univ. of Texas | BITNET LNEWT@UTMDAH M.D. Anderson Cancer Center | Z999012@UTHVM1 1515 Holcombe Mail Box 167| Voice (713) 792-6344 Houston, Texas 77030 | Internet LNEWT%MDACC.DECNET@utadnx.cc.utexas.edu __________________________________________________________________________