[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

TELNET CREATE_SESSION; last channel deassign?

» close window

The Question is:

 
TCP/IP Version 5.0
Need to create permenant TNxx devices.
Using an application that wants to open/send/close these devices.
Currently, the devices disappear after a certain amount of non-activity.
Tryed CREATE_SESSION ip port # /TIMEOUT=NOIDLE which works fine at OpenVMS
level.  The TNxx devices stick around fine.  But when the applications uses
them, they vanish after it issues a close.  Without the /TIMEOUT=NOIDLE,
it's like I said before,  they
seem to timeout and vanish.
Used to use LT devices and LAT and it worked fine, but now want to use
TCP/IP.
 
I've scoured the documentation and have logged numerous calls to Compaq, but
still do not have a solution.
 
Any thoughts ?
 


The Answer is :

 
  When the last channel is deassigned, the device vaporizes.
 
  The low-level solution involves simply not deassigning the channel, via
  the use of a dedicated channel and the use of the SHARE privilege, or in
  accessing internal kernel-mode OpenVMS system data structures related
  to the device and incrementing the device reference count value.  (The
  latter would be implemented via a small kernel-mode routine that uses
  a ioc$searchdev call to locate the UCB, and increments the UCB$L_REFC.)
 

answer written or last revised on ( 30-SEP-1999 )

» close window