Google
 

Trailing-Edge - PDP-10 Archives - BB-FB49A-RM - sources/sntcom.r36
There are no other files named sntcom.r36 in the archive.
%TITLE	'SNTCOM Common Symbol definitions for the SNA Trace Utility'
!	Version 1.00	File:  SNTDEF.MDL 
! 
! Copyright (c) 1984, 1985 by
! DIGITAL EQUIPMENT CORPORATION, Maynard, Massachusetts
!
! 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.
!...$SNTCOM	
     ! 
     ! Miscellaneous 
     ! 
 LITERAL	

 	SNTCOM$K_EFN_DATA    = 1,			! Data available event flag 
 	SNTCOM$K_EFN_CTRLC   = 2,			! CTRL/C event flag 
 	SNTCOM$K_EFN_RCV     = 3, 			! Receive event flag 
 	SNTCOM$K_INIRCVCNT   = 3; 			! Initial receive count 
!
!
! 				 
 MACRO		SNTCOM$V_EFN_DATA	= 0,1,1,0%; 		! Data available mask 
 LITERAL	SNTCOM$M_EFN_DATA	= 1^2 - 1^1; 
 MACRO		SNTCOM$V_EFN_CTRLC	= 0,2,1,0%; 		! CTRL/C mask 
 LITERAL	SNTCOM$M_EFN_CTRLC	= 1^3 - 1^2; 
 MACRO		SNTCOM$V_EFN_RCV	= 0,3,1,0%; 			! Receive mask 
 LITERAL	SNTCOM$M_EFN_RCV	= 1^4 - 1^3; 
 			
     ! 
     ! Command function codes 
     ! 
 LITERAL	
! $EQULST (SNTCOM$K_,GBL,0,1  
 	SNTCOM$K_CMD_NULL       = 1,           ! No command 
 	SNTCOM$K_CMD_HELP       = 2,           ! Help 
 	SNTCOM$K_CMD_EXIT       = 3,           ! Exit 
 	SNTCOM$K_CMD_TRACE      = 4,           ! Trace 
 	SNTCOM$K_CMD_ANALYZE    = 5;           ! Analyze 

     ! 
     ! Command modifiers 
     ! 
 			 
 	! 
 	! Trace command 
 	! 
 MACRO		SNTCOM$V_MOD_ANALYZE	= 0,0,1,0%; 		! Analyze output 
 LITERAL	SNTCOM$M_MOD_ANALYZE	= 1^1 - 1^0; 
 MACRO		SNTCOM$V_MOD_BUFFERS	= 0,1,1,0%; 		! Server buffer limit 
 LITERAL	SNTCOM$M_MOD_BUFFERS	= 1^2 - 1^1; 
 MACRO		SNTCOM$V_MOD_CIRCUIT	= 0,2,1,0%; 		! Circuit trace 
 LITERAL	SNTCOM$M_MOD_CIRCUIT	= 1^3 - 1^2; 
 MACRO		SNTCOM$V_MOD_ENTRIES	= 0,3,1,0%; 		! Trace entries 
 LITERAL	SNTCOM$M_MOD_ENTRIES	= 1^4 - 1^3; 
 MACRO		SNTCOM$V_MOD_FILESIZE	= 0,4,1,0%; 		! Trace output file size 
 LITERAL	SNTCOM$M_MOD_FILESIZE	= 1^5 - 1^4; 
 MACRO		SNTCOM$V_MOD_MAXFILES	= 0,5,1,0%; 		! Maximum trace file versions 
 LITERAL	SNTCOM$M_MOD_MAXFILES	= 1^6 - 1^5; 
 MACRO		SNTCOM$V_MOD_NOANALYZE	= 0,6,1,0%; 		! Do not analyze output 
 LITERAL	SNTCOM$M_MOD_NOANALYZE	= 1^7 - 1^6; 
 MACRO		SNTCOM$V_MOD_PU	= 0,7,1,0%; 			! Physical unit (PU) trace 
 LITERAL	SNTCOM$M_MOD_PU	= 1^8 - 1^7; 
 MACRO		SNTCOM$V_MOD_SIZE	= 0,8,1,0%; 		! Trace data size 
 LITERAL	SNTCOM$M_MOD_SIZE	= 1^9 - 1^8; 
 	! 
 	! Common commands between Trace and Analyze 
 	! 
 MACRO		SNTCOM$V_MOD_LOAD	= 0,9,1,0%; 		! Loadable translation table requested 
 LITERAL	SNTCOM$M_MOD_LOAD	= 1^10 - 1^9; 
 MACRO		SNTCOM$V_MOD_NOWIDE	= 0,10,1,0%; 		! 80 column formatted output 
 LITERAL	SNTCOM$M_MOD_NOWIDE	= 1^11 - 1^10; 
 MACRO		SNTCOM$V_MOD_OUTPUT	= 0,11,1,0%; 		! Output file name 
 LITERAL	SNTCOM$M_MOD_OUTPUT	= 1^12 - 1^11; 
 MACRO		SNTCOM$V_MOD_SESSION	= 0,12,1,0%; 		! Session trace/analyze 
 LITERAL	SNTCOM$M_MOD_SESSION	= 1^13 - 1^12; 
 MACRO		SNTCOM$V_MOD_WIDE	= 0,13,1,0%; 		! 132 column formatted output 
 LITERAL	SNTCOM$M_MOD_WIDE	= 1^14 - 1^13; 
 	! 
 	! Help command 
 	! 
 MACRO		SNTCOM$V_MOD_PROMPT	= 0,14,1,0%; 		! Prompt 
 LITERAL	SNTCOM$M_MOD_PROMPT	= 1^15 - 1^14; 
 MACRO		SNTCOM$V_MOD_NOPROMPT	= 0,15,1,0%; 		! Do not prompt 
 LITERAL	SNTCOM$M_MOD_NOPROMPT	= 1^16 - 1^15; 
 			
     ! 
     ! Default values 
     ! 
 LITERAL	
! $EQULST (SNTCOM$K_,GBL,0,1  
 	SIZE_DEF_K$SNTCOM     =  0,  ! Default trace data size (server default) 
 	BUFFERS_DEF_K$SNTCOM  =  0,  ! Default buffering level (server default) 
 	BUFLEN_DEF_K$SNTCOM   = 512, ! Default buffer size 
 	ENTRIES_DEF_K$SNTCOM  = -1,  ! Default maximum output file entries 
 	FILESIZE_DEF_K$SNTCOM = -1,  ! Default maximum output file size 
 	MAXFILES_DEF_K$SNTCOM =  1;  ! Default maximum number of output files 

     ! 
     ! Minimum values 
     ! 
 LITERAL	
! $EQULST (SNTCOM$K_,GBL,0,1  
 	SIZE_MIN_K$SNTCOM     = 17,  ! Minimum trace data size 
                                  !  (hdr=4 + pe=4 + th=6 + rh=3) 
 	BUFMIN_K$SNTCOM  =  1;  ! Minimum buffering level 

     ! 
     ! Maximum values 
     ! 
 LITERAL	
! $EQULST (SNTCOM$K_,GBL,0,1  
 	SNTCOM$K_MAX_SIZE     = -1,	! Maximum trace data size 
 	SNTCOM$K_MAX_BUFFERS  = 12,	! Maximum buffering level 
 	SNTCOM$K_MAX_ENTRIES  = -1,	! Maximum output file entries 
 	SNTCOM$K_MAX_FILESIZE = -1,	! Maximum output file size 
 	SNTCOM$K_MAX_MAXFILES = -1,	! Maximum number of output files 
 	SNTCOM$K_MAX_CIRCLEN  = 15,	! Maximum circuit id length 
 	SNTCOM$K_MAX_NODELEN  = 255;	! Maximum node id length 

     ! 
     ! File identification values 
     ! 
 LITERAL	
! $EQULST (SNTCOM$K_,GBL,0,1  
 	SNTCOM$K_FID_MIN      = 1, 	 
  
 	SNTCOM$K_FID_IN1      = 1, 	 
 	SNTCOM$K_FID_IN2      = 2, 	 
 	SNTCOM$K_FID_OUT1     = 3, 	 
 	SNTCOM$K_FID_OUT2     = 4, 	 
 	SNTCOM$K_FID_PUR      = 5, 	 
  
 	SNTCOM$K_FID_MAX      = 5; 	 

  
 ! 
 ! End of SNTDEF.MDL 
 !