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

Conference help::decnet-osi_for_vms

Title:DECnet/OSI for OpenVMS
Moderator:TUXEDO::FONSECA
Created:Thu Feb 21 1991
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3990
Total number of notes:19027

3871.0. "Ftam Gateway fixed length record file fails to copy" by NETRIX::"[email protected]" (Billy O'Connor) Fri Feb 14 1997 06:13

An Gateway access violation occurs when doing a FTAM Gateway copy of certain
structured files. This works fine for the same file using plain FTAM, without
using the Ftam Gateway facility.
The versions of software are as follows:
________________________________________

Remote side is VAX-VMS 6.2, Decnet/OSI 6.3 eco-5, Ftam 3.2-F, OSAK 3.0-L
Local side is  VAX-VMS 6.1, Decnet/OSI 6.3 eco-5, Ftam 3.2-F, OSAK 3.0-L

Failing command
_______________
$ copy ftam_bad.dat 0"osigtwy champion"::post1"dsw_pdraft
germany"::ftam_badggg.
dat/lo
%COPY-E-WRITEERR, error writing 0"osigtwy password"::POST1"dsw_pdraft
germany"::
DISK$PDRAFT_PROD:[POSTDRAFT.PDPROD.EIT_ISSUES]FTAM_BADGGG.DAT;5
-RMS-F-SYS, QIO system service request failed
-SYSTEM-F-LINKABORT, network partner aborted logical link
%COPY-W-NOTCMPLT, SYS$SYSROOT:[SYSMGR]FTAM_BAD.DAT;1 not completely copied
%COPY-E-CLOSEOUT, error closing 0"osigtwy password"::POST1"dsw_pdraft
germany"::
DISK$PDRAFT_PROD:[POSTDRAFT.PDPROD.EIT_ISSUES]FTAM_BADGGG.DAT;5 as output
-RMS-F-SYS, QIO system service request failed
-SYSTEM-F-LINKABORT, network partner aborted logical link
Failed file Description
_______________________
Available on Zethus::[...]ftam_bad.dat
$ dir/full ftam_bad.dat
Directory SYS$SYSROOT:[SYSMGR]
FTAM_BAD.DAT;1                File ID:  (5274,118,0)
Size:          394/396        Owner:    [SYSTEM]
Created:   13-FEB-1997 10:23:13.02
Revised:   13-FEB-1997 10:23:13.75 (1)
Expires:   <None specified>
Backup:    <No backup recorded>
Effective: <None specified>
Recording: <None specified>
File organization:  Sequential
Shelved state:      Online
File attributes:    Allocation: 396, Extend: 0, Global buffer count: 0
                    No version limit
Record format:      Fixed length 401 byte records
Record attributes:  Carriage return carriage control
RMS attributes:     None
Journaling enabled: None
File protection:    System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List:  None
Total of 1 file, 394/396 blocks.

On the remote end the file looks like this after the failure
____________________________________________________________
$ dir/full DISK$PDRAFT_PROD:[POSTDRAFT.PDPROD.EIT_ISSUES]FTAM_BADGGG.DAT
FTAM_BADGGG.DAT;5             File ID:  (5387,34,0)
Size:            0/0          Owner:    [DSW_PDRAFT]       <<<<<<<<<<<<<<<<<
Created:   13-FEB-1997 14:59:17.22
Revised:   13-FEB-1997 14:59:29.27 (2)
Expires:   <None specified>
Backup:    <No backup recorded>
Effective: <None specified>
Recording: <None specified>
File organization:  Sequential
Shelved state:      Online
File attributes:    Allocation: 0, Extend: 0, Global buffer count: 0
                    No version limit
Record format:      Fixed length 401 byte records
Record attributes:  Carriage return carriage control
RMS attributes:     None
Journaling enabled: None
File protection:    System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: 
(APPLICATION,SIZE=%D52,FLAGS=%X0E00,ACCESS=%X000002E2,DATA=
                    %X0013002C,%X0014000C,%X54460006,%X312D4D41,%X006B001C,
                    %X006C0008,%X00000019,%X006D0008,%X00000191,%X006E0008,
                    %X00000001)
Failure remote responder.log
----------------------------
DISK$PDRAFT_PROD:[POSTDRAFT.PDPROD.EIT_ISSUES]OSIF$RESPONDER.LOG;5
$!
$! This command procedure is always run when anybody on the entire system
$! logs in. It is equivalent to LOGIN.COM except that the instructions
$! contained herein are executed everytime anyone on the VMS system
$! logs in to their account.
$!
$! For interactive processes, turn on Control T, and set the terminal type
$!
$ IF (F$MODE() .EQS. "INTERACTIVE") THEN SET CONTROL=T
$ IF (F$MODE() .EQS. "INTERACTIVE") THEN SET TERMINAL/INQUIRE
$ IF (F$MODE() .EQS. "OTHER") THEN EXIT
$!
$! For MicroVAX systems only, use the command MOUNT/NOASSIST.
$!
$ IF (.NOT. F$TRNLNM("SYS$MICROVAX")) THEN GOTO SKIP_MICROVAX_COMMANDS
$SKIP_MICROVAX_COMMANDS:
$!
$! Place your site-specific LOGIN commands below
$ VAXLINK2 :== $SYS$COMMON:VAXLINK2.EXE
$!
$ ed:==edit/edt
$ edi:==edit/edt
$ edit:==edit/edt
$ SET PROMPT = "COLH01-->"
$!++
$! OSIF$RESPONDER.COM
$!
$!+
$! Purge old responder log files
$!-
$ PURGE /KEEP=25 osif$responder.log
$
$!+
$! Uncomment the next two lines to create a trace file for the
$! responder
$!-
$! DEFINE /LOG osif$trace_enable FTAM-PCI,ACSE-PCI,PRESENTATION-PCI,SESSION
$! DEFINE /LOG osif$trace osif$responder.trace
$
$!+
$! The following line is an example of how to set the file protection on
$! files created by the responder.  Uncomment next line to modify the
$! default file protection used by the responder process.
$!-
$! SET PROTECTION=(S:RWED,O:RWED,G,W)/DEFAULT
$
$!+
$! Uncomment next line to disable DECNET access by the responder
$!-
$!DEFINE OSIF$R_OPTIONS NO_PMR, NO_RESP_REUSE
$
$!+
$! By default - turn off responder re-use
$!-
$ DEFINE OSIF$R_OPTIONS NO_RESP_REUSE
$!
$ RUN sys$system:osif$fal.exe
%FTAM-E-USEABOREC, FTAM User Abort message received
%FTAM-E-USEABOREC, FTAM User Abort message received
  DSW_PDRAFT   job terminated at 13-FEB-1997 14:59:29.57
  Accounting information:
  Buffered I/O count:              70         Peak working set size:    1776
  Direct I/O count:                18         Peak page file size:      6631
  Page faults:                   1351         Mounted volumes:             0
  Charged CPU time:           0 00:00:01.55   Elapsed time:     0 00:00:14.53
Failed Net$server.log in the OSIGTWY account
--------------------------------------------
MAILHB_SYS $ typ SYS$COMMON:[OSIF$GTWY]net$server.log
$ !
$ !     O S I F G T W Y $ L O G I N . C O M
$ !
$
$ !
$ ! Copyright (c) 1991 by
$ ! Digital Equipment Corporation, Maynard, Massachusetts.
$ ! All rights reserved.
$ !
$ ! This software is furnished under a license and may be used and copied
$ ! only  in  accordance  of  the  terms  of  such  license  and with the
$ ! inclusion of the above copyright notice. this software or  any  other
$ ! copies thereof may not be provided or otherwise made available to any
$ ! other person.  No title to and  ownership of the  software is  hereby
$ ! transferred.
$ !
$ ! The information in this software is  subject to change without notice
$ ! and  should  not  be  construed  as a commitment by Digital Equipment
$ ! Corporation.
$ !
$ ! Digital assumes no responsibility for the use  or  reliability of its
$ ! software on equipment which is not supplied by Digital.
$ !
$
$ !++
$ ! FACILITY:
$ !    OSIF - DAP/FTAM Gateway Component.
$ !
$ ! ABSTRACT:
$ !    This is the login command file for all DAP/FTAM gateway server
accounts.
  !    It insures that only DECnet connection requests for object 17 (FAL) are
$ !    accepted.  Requests for all other objects cause the process to be
$ !    terminated immediately.
$ !
$ ! CREATION DATE: 14-AUG-1989
$ !
$ !--
$
$ !
$ ! Initialization
$ !
$   EXIT  := EXIT
$   IF    := IF
$   GOTO  := GOTO
$   SET   := SET
$   STOP  := STOP
$   WRITE := WRITE
$
$ !
$ ! Check the NCB for validity.
$ ! After the accessor's node and task name, a valid NCB will contain
$ ! a slash.  If a slash is not found, then disconnect the link.  The slash is
$ ! followed by 19 bytes of data (which is ignored).  This data is followed by
$ ! the destination descriptor.  The second byte of this descriptor contains
$ ! the object number.  This number should be 17.  If the object number is not
$ ! 17, disconnect the link.
$ !
$   SYS_NET = F$TRNLOG("SYS$NET")
$   SLASH_PTR = F$LOCATE("/", SYS_NET)
$   IF SLASH_PTR .NE. F$LENGTH(SYS_NET) THEN GOTO GET_OBJECT_NUMBER
$ GET_OBJECT_NUMBER:
$   OBJECT_NUMBER_PTR = SLASH_PTR + 21
$   OBJECT_NUMBER = F$CVUI(0, 8, F$EXTRACT(OBJECT_NUMBER_PTR, 1, SYS_NET))
$   IF OBJECT_NUMBER .EQ. 17 THEN GOTO ASSIGN_FAL_SYMBOL
$ ASSIGN_FAL_SYMBOL:
$!
$  DEFINE FAL$LOG "7/BPM=256"
$  DEFINE FAL$OUTPUT SYS$COMMON:[OSIF$GTWY]FAL.TRACE
$!
$!+
$! Uncomment the next two lines to create a trace file for the FTAM requests
$! sent by the gateway.
$!-
$ DEFINE /LOG osif$trace_enable FTAM-PCI,ACSE-PCI,PRESENTATION-PCI,SESSION
$ DEFINE /LOG osif$trace osif$gateway_init.trace
$!
$   FAL$IMAGE == "SYS$SYSTEM:OSIF$GTWY"
$   PURGE/KEEP=6 *.LOG
$   EXIT
$ !  Copyright (c) 1995 Digital Equipment Corporation.  All rights reserved.
$       IF "" .NES. "" THEN NetServer$COMMAND
$       IF ""  .EQS. "" THEN NetServer$VERIFY = 0
$       V = F$VERIFY(NetServer$VERIFY)
        --------------------------------------------------------
        Connect request received at 13-FEB-1997 15:01:41.61
            from remote process MAILHB::"0=SYSTEM"
            for object "SYS$COMMON:[SYSEXE]OSIF$GTWY.COM"
        --------------------------------------------------------
%SYSTEM-F-ACCVIO, access violation, reason mask=!XB, virtual address=!XL,
PC=!XL
, PSL=!XL
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=0000000C,
PC
=0000000C, PSL=0002AF50
  OSIGTWY      job terminated at 13-FEB-1997 15:02:00.63
  Accounting information:
  Buffered I/O count:             148         Peak working set size:    8373
  Direct I/O count:                98         Peak page file size:     34897
  Page faults:                  29796         Mounted volumes:             0
  Charged CPU time:           0 00:00:09.49   Elapsed time:     0 00:00:19.94
Failed Trace's
________________
Available on Zethus::[...]FAL.TRACE_bad, OSIF$GATEWAY_INIT.TRACE_bad, 
NET$SERVER.LOG_bad
We are using a cons type connection with the following osi transport template.
Node 0 OSI Transport Template cons
at 1997-02-13-15:16:40.000+00:00Iinf
Identifiers
    Name                              = cons
Characteristics
    Keepalive Time                    = 60
    Retransmit Threshold              = 8
    Initial Retransmit Time           = 5
    CR Timeout                        = 30
    ER Timeout                        = 30
    Network Service                   = CONS
    Security                          = <Default value>
    Classes                           =
       {
          0 ,
          2 ,
          4
       }
    Checksums                         = False
    Maximum NSDU Size                 = 2048
    Expedited Data                    = True
    CONS Template                     = cons
    Use CLNS Error Reports            = True
    Acknowledgement Delay Time        = 1
    Local NSAP                        = <Default value>
    CLNS Inactive Area Address        =
       {
       }
    Inbound                           = True
    Loopback                          = False
    Send Implementation Id            = True
    Extended Format                   = True
    Network Priority                  = 0
    Send Preferred maximum TPDU size  = True
    Send Request Acknowledgement      = True
    RFC1006 Port Number               = 102
Successfull commands
___________________
$ cop/app=ftam ftam_bad.dat post1"dsw_pdraft germany"::ftam_bad.dat/lo
$ copy ftam_good.dat 0"osigtwy champion"::post1"dsw_pdraft
germany"::ftam_goodgg
g.dat/lo
The above gateway copy always works I suspect because of the file structure
which is listed below
$ dir/full ftam_good.dat
Directory SYS$SYSROOT:[SYSMGR]
FTAM_GOOD.DAT;4               File ID:  (5419,152,0)
Size:           32/33         Owner:    [SYSTEM]
Created:   13-FEB-1997 10:24:01.39
Revised:   13-FEB-1997 10:24:01.67 (1)
Expires:   <None specified>
Backup:    <No backup recorded>
Effective: <None specified>
Recording: <None specified>
File organization:  Sequential
Shelved state:      Online
File attributes:    Allocation: 33, Extend: 0, Global buffer count: 0
                    No version limit
Record format:      Variable length, maximum 401 bytes <<<<<<<<<<<<<<<<<<<<
Record attributes:  Carriage return carriage control
RMS attributes:     None
Journaling enabled: None
File protection:    System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List:  None
Sucessful FAL and FTAM trace files for Gateway copy
___________________________________________________
Available on ZETHUS::[...]FAL.TRACE_GOOD, OSIF$GATEWAY_INIT.TRACE_GOOD,
NET$SERVER.LOG_GOOD
P.s. Zethus is Decnet node 40.861

       Thanks for any thoughts, help Billy O'Connor
[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
3871.1looks like known problem with FTAM-1 FIXEDRMULAC.DVO.DEC.COM::S_WATTUMScott Wattum - FTAM/VT/OSAK EngineeringFri Feb 14 1997 08:436
This is a known problem with the gateway that has never been fixed.  It's on our
list to fix, but we haven't gotten a round-tuit yet.  If you have any extra
round-tuits, send them our way; in the absence of extra tuits (round, square or
otherwise), please escalate this problem as an IPMT to FTAM engineering.

--Scott
3871.2RMULAC.DVO.DEC.COM::S_WATTUMScott Wattum - FTAM/VT/OSAK EngineeringMon Mar 03 1997 08:504
This has been resolved, and the fix will appear in the next release of FTAM with
DECnet-Plus 7.2.

--Scott