| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 5449.1 | more details... | ZTOIS1::VISTA | Renato VISTA, MCS/SPS France/Strasbourg | Mon Aug 09 1993 07:54 | 70 | 
|  |     Hereunder more details about .0 problem/message :
    
    MCC> sho  script .script.chipcom_procedures chipcom_port_eth_stat
    etoile1_4_1 all char
    
    Script LOCAL_NS:.script.chipcom_procedures chipcom_port_eth_stat etoile1_4_1
    AT  9-AUG-1993 13:44:04 Characteristics
    
    Examination of attributes show:
                                    Command =
    		"@mcc_scripts:CHIPCOM_PORT_ETHERNET_STAT.COM etoile1 4 1 900"
                                    Timeout = 0 00:17:00.00
    
    where	etoile1		= chipcom snmp synonym name
    		4		= slot number
    		1		= port number
    		900		= time in seconds as Sample interval
    
    Renato
    
    PS : when using the same instance in interactive mode, with 10 seconds
    of sampling interval...
    
    
    MCC> sho script .script.chipcom_procedures chipcom_port_eth_stat 
    		etoile1_4_1 all attr
    
    Script LOCAL_NS:.script.chipcom_procedures chipcom_port_eth_stat etoile1_4_1
    AT  9-AUG-1993 13:50:22 All Attributes
    
                  Agent and Module and Port = etoile1_4_1
                           Command Executed =
    	"@mcc_scripts:CHIPCOM_PORT_ETHERNET_STAT.COM etoile1 4 1 10"
                  Management Module Synonym = "ETOILE1"
                                Port Status = "okay"
                                 Slot Index = 4
                                 Port Index = 1
                                  Port Type = "media"
                             Port Connector = "fiber"
                  Port Administrative State = "enabled"
                               Port Network = "per_module"
                               Network Type = "ethernet"
                       Good Received Frames = 157 Frames
                       Good Received Octets = 17264 Octets
                  Multicast Received Frames = 153 Frames
                  Broadcast Received Frames = 0 Frames
            Too Long Errors Received Frames = 0 Frames
           Alignment Errors Received Frames = 0 Frames
                 CRC Errors Received Frames = 0 Frames
                  Remote Collision Received = 0 Frames
             Ethernet Bandwidth Utilization = 0 %
                             Collision Rate = 0 %
                                 Error Rate = 0 %
                   Port Last Source Address = "AA000400ADBE"
                    Port Last Error Address = "000000000000"
                         Statistic Duration = 10 Seconds
                          Sample 1 MCC Time = "1993-08-09-13:52:11.00"
                          Sample 2 MCC Time = "1993-08-09-13:52:24.00"
                                    Command =
    	"@mcc_scripts:CHIPCOM_PORT_ETHERNET_STAT.COM etoile1 4 1 10"
                                    Timeout = 0 00:17:00.00
    
    PPS : please note that all is running correctly on MCC/ULTRIX V1.3.0
    platform...
    
    
    		
    
                
    
 | 
| 5449.2 |  | TOOK::SHMUYLOVICH |  | Mon Aug 09 1993 08:55 | 16 | 
|  | 	Re: .0
    
>                   Last poll failure reason = "MCC specialized exception
>    						code : 2",
>    
>    Does anybody know the MCC code meaning returned above (ie code = 2) ?
    
    Invoke DAP utility (man/t/d) and do the following:
DAP> show class script directive show exception code 2 -
_DAP> definition reply_text
	Sam
    
 | 
| 5449.3 | exception code 2 NOT FOUND in SCRIPT/SHOW directive | ZTOIS1::VISTA | Renato VISTA, MCS/SPS France/Strasbourg | Mon Aug 09 1993 09:11 | 32 | 
|  |     
    Sam,
    
    Thank you for your reply, but when doing the command you've given, the
    following message is returned :
    
    DAP>  show class script directive show exception code 2  definition
    reply_text
    %DAP-W-NO_DEF_DATA, Definition data does not currently exist for this
    definition
    
    And when looking step by step within Dictionary, I've only got the
    following description :
    
    DAP> show
    
       Class (1) : SCRIPT
    ---> Directive (6) : SHOW
           Definition (3) : DIRECTIVE_TYPE
           Definition (3) : DISPLAY
           Definition (3) : CATEGORIES
           Definition (3) : PRESENTATION_NAME
           Response (8) : SHOW_SUCCESS 1
           Response (8) : ATTRIBUTES_EMPTY 3
           Exception (9) : MCC_K_SHOW_UNSUPORTED_GROUP 1
           Exception (9) : UNSUPPORTEDHANDLESTATE 23
    
    Is there any mistake ?
    
    Renato
    
    
 | 
| 5449.4 |  | TOOK::SHMUYLOVICH |  | Mon Aug 09 1993 12:04 | 4 | 
|  |     
    	It looks to me like script MSL is incomplete.
    
    	Sam
 | 
| 5449.5 | It works now... | ZTOIS1::VISTA | Renato VISTA, MCS/SPS France/Strasbourg | Tue Aug 10 1993 02:41 | 11 | 
|  |     
    To .4,
    Sam,
    
    Thank you for your replies. After testing, MCC Code=2 is returned when
    DCL problem occurs within the run procedure, such as I've had in my own
    procedure (and I've fixed, so it works correctly now), ie a working
    directory problem because of VMS logical names.
    
    Renato
    
 |