Google
 

Trailing-Edge - PDP-10 Archives - BB-FB51A-RM - sna-ai/snasym.mac
There are 2 other files named snasym.mac in the archive. Click here to see a list.
; Copyright (c) 1985 by
; DIGITAL EQUIPMENT CORPORATION, Maynard, Massachusetts 01754
;
; This software is furnished under a license and may be used and  copied
; only  in  accordance  with  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.

	UNIVERSAL	SNASYM	SNA Gateway Access Routine Universal Symbols
	.DIRECTIVE	.NOBIN

; Data Type

    NORDAT==:0			      ; Normal Data
    EXPDAT==:1			      ; Expedited Data

; SNA Port States

    AS%UND==:0                         ; UNDEFINED
    AS%BNW==:1                         ; BINDWAIT (LISTENING)
    AS%BNR==:2                         ; BIND RECIEVED (CALLED)
    AS%FLU==:3                         ; FLUSHING 
    AS%RUN==:4                         ; RUNNING
    AS%RCN==:5                         ; RECONNECTING 
    AS%ABG==:6                         ; ABORTING
    AS%ABD==:7                         ; ABORTED
    AS%ERR==:8	                        ; ERROR

; SNA Returned Codes


    AC%SUC==:0                      	; Success
    AC%DCE==:1B35                       ; Decnet connection error
    AC%IAR==:1B34                       ; Insufficient access resources
    AC%PER==:1B33                       ; Procedure error
    AC%NDA==:1B32                       ; No data to read
    AC%NLN==:1B31                       ; No translation, logical name SNAGAT
    AC%NCM==:1B30                       ; No Communication
    AC%RCN==:1B29                       ; Reconnect Pending
    AC%DFT==:1B28                       ; Data field truncated
    AC%INA==:1B27                       ; Illegal network access code
    AC%BPN==:1B26                       ; Bad Port Number
    AC%BTL==:1B25                       ; Buffer too long
    AC%BTS==:1B24                       ; Buffer too short
    AC%RSS==:1B23                       ; Reset seen
    AC%SER==:1B22			; Error Sending Normal data
    AC%RCE==:1B21			; Error Reconnecting
    AC%SIE==:1B20			; Error Sending Interrupt data
    AC%PSE==:1B19			; Error Setting up the PSI system
    AC%DLA==:1B18                       ; Decnet Link aborted during connect

    ; SNA error code

    AR%UND==:0	                        ; Undefined error
    AR%UAB==:^D100                        ; User Abort Reason code
    AR%URJ==:^D101                        ; User Reject
    AR%IPV==:^D102                        ; Insufficient Gateway resourses
    AR%IGR==:^D103                        ; Insufficient Gateway resourses
    AR%NAN==:^D104                        ; No Such Access Name
    AR%CNS==:^D105                        ; Circuit Name not specified
    AR%NSC==:^D106                        ; No such Circuit 
    AR%CNS==:^D107                        ; Circuit Name not specified
    AR%PNS==:^D108                        ; PLU Name not specified
    AR%NSA==:^D109                        ; No such SLU
    AR%SNA==:^D110                       ; SLU address not available (no ACTLU)
    AR%SIU==:^D111                        ; SLU address in use
    AR%CRJ==:^D112                       ; CONNECT request rejected by SSCP/PLU
    AR%BIN==:^D113                        ; BIND values rejected by gateway
    AR%UBR==:^D114                        ; UNBIND received while in RUNNING
    AR%SDA==:^D115                        ; SLU deactivated
    AR%IAE==:^D116                        ; Internal library error
    AR%IGE==:^D117                        ; Internal Gateway error
    AR%SAA==:^D118                        ; Session was aborted by re-
    AR%AST==:^D119                        ; Abnormal session termination
    AR%NSL==:^D120                       ; All SLU addresses inactive or in use
    AR%EDO==:^D121                        ; Expedited data overrun

    AE%UNK==:0				; Unknown error
    AE%IGR==:1B35                       ; INSUFFICIENT GATEWAY RESOURCES
    AE%INU==:1B34                      ; CIRCUIT IN USE
    AE%UCN==:1B33                      ; UNDEFINED CIRCUIT NAME
    AE%NLN==:1B32                      ; UNDEFINED NODE NAME
    AE%NCM==:1B31                      ; NO COMMUNICATION WITH THE GATEWAY
    AE%DFT==:1B30                      ; DATA FIELD TRUNCATED
    AE%FFT==:1B29                      ; FACILITIES FIELD TRUNCATED
    AE%EDO==:1B28                      ; EXPEDITED DATA OVERRUN

; Port status bits

AM%DAT==:1B0			   ; Incoming data is available
AM%EXP==:1B1			   ; Incoming expedited data is available


; Miscelaneous symbols

.PBSIZ==:^D140			   ; PRTBLK constant length


END

; Local Modes:
; Mode:MACRO
; Auto Save Mode:2
; Comment Column:35
; Comment Rounding:+1
; End: