[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulean::decnetvax

Title:DECnet-VAX Conference
Notice:The WORLD's Leader in Networking
Moderator:BULEAN::BENOIT
Created:Sun Feb 02 1986
Last Modified:Sun Jun 01 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5887
Total number of notes:24029

5887.0. "sys$net and timeout problem" by ZPOVC::PARRYCHUA (Parry Chua @ZPO, 65-3306311) Thu May 29 1997 00:46

    Hi,
    
    The have the question on SYS$NET timeout, I am able to simulate the
    problem by teh following:-
    
    At SOURCE node
    ==============
    SOURCE> type TARGET"user passwd"::"task=test.com"
    
    At TARGET node
    ==============
    TEST.com
    --------
    $ wait 00:00:45                 ! let said this call WAIT_TIME
    $ copy/nolog test.txt sys$net
    $ logout
    
    The above test will be OK if the WAIT_TIME is 45 seconds.
    The above test will fail if the WAIT_TIME is 46 second and above.
    
    If I want the test to be OK, I need to set the following two PARAMETRS
    to the value 1 + WAIT_TIME:-
    NCP> Set exec incoming timerout value  ! value = 1 + WAIT_TIME
    NCP> Set exec outgoing timerout value  ! as above.
    
    The error at source node is Network Partner Exited,
       - RMS file access error.
    
    The error at target node is connection failure or timeout
       - rms file creation failure.
    
    My questions are :-
    1. Assume that the WAIT_TIME is the time require to do some processing
       and generate a output file. Then this outfile will send back to
       SOURCE node. The processing time need to be about 2 minutes in a
       heavy loaded system.
       - can I go ahead to alter the two NCP EXEC PARAmeter to 121 ?
         ( 2 min + 1 sec) ?
    
    2. It the above test show that if sys$net is no used after some time
       after establish the connection, it will get the error when using it
       again ? 
    
    3. It the above test indiacte this is a normal behavious of DECnet
       phase four ? 
       - If not, what should I do.
    
    Thanks
    Parry ( Singapore MCS)
    
T.RTitleUserPersonal
Name
DateLines
5887.1UTRTSC::KNOPPERSOswald KnoppersThu May 29 1997 03:5312
I think you have a design error. The problem is that your target
application doesn't accept the call while doing wait_time. YYour com file
should start with opening sys$net. For example:

    $ open/read/write net sys$net
    $ wait 00:00:45                 ! let said this call WAIT_TIME
    $ copy/nolog test.txt net
    $ logout              ^^^

And the copy can go to net.

Oswald
5887.2Thanks, it work, need explaminationZPOVC::PARRYCHUAParry Chua @ZPO, 65-3306311Thu May 29 1997 23:116
    Hi,
    
    Thanks, I will try it out, could you explain a bite more on this ?
    
    Thanks for the great help
    Parry
5887.3UTRTSC::KNOPPERSOswald KnoppersFri May 30 1997 03:266
The problem is that while your .com file is doing its processing the DECnet
logical link is not yet completely setup. This is why you have the incoming
and outgoing timers. DECnet will abort if the link is not accepted when the
timer expires.

Oswald
5887.4Thanks, it workZPOVC::PARRYCHUAParry Chua @ZPO, 65-3306311Sun Jun 01 1997 22:004
    Thanks for your help and explamination.
    
    Regards
    Parry