
{ CML$RHFAM_NETWORK_FAILURE
{
{ PURPOSE:  The purpose of this statistic is to provide the internal
{    network failure data at the time the local host observes a
{    network failure.
{
{ FREQUENCY:  Each time an unexpected network failure occurs, this
{    statistic will be emitted.  NOTE - some prevalidation is done
{    to prevent duplication of messages when a normal occurrance
{    has not changed (e.g. a host is not running).
{
{ CONTENT:
{    Descriptive data
{
{    '<mf>.<iou>.<pp>.<channel>.<element>*<severity>*<symptom>'
{
{      where <mf> is the identification of the mainframe in the form
{        $SYSTEM_mmmm_ssss.  Where 'mmmm' is the model number of
{        central processor zero and 'ssss' is the serial number of
{        that processor.
{
{      where <iou> specifies the string 'IOUn' where n identifies
{        the resident IOU of the channel (either 0 or 1).
{
{      where <pp> specifies the the string 'PPn' where n is the decimal
{        representation of the logical PP used to access the channel.
{
{      where <channel> specifies the string 'CHn' where n is the decimal
{        representation of the physical channel used to access the NAD.
{
{      where <element> is the element name, specified in the PCU,
{        used to logically identify the local NAD.
{
{      where <severity> is the string 'IM' which specifies that
{        the message is only informative.
{
{      where <symptom> specifies a string identifying the symptom that
{        the access method observed.
{
{        0)  CONNECTION FAILURE
{
{    COUNTER:
{
{      1 - Logical PP number.
{          Bit 57 = 1 implies that the PP is an I4 concurrent PP.
{          Bits 46 thru 51 contain the IOU number of the PP.
{
{      2 - Channel number is the number of the channel physically
{          connected to the NAD.  Since only one NAD exists per
{          channel, the channel number uniquely defines the NAD.
{          Bit 57 = 1 implies that the channel is an I4 concurrent
{          channel.
{          Bits 46 thru 51 contain the IOU number of the channel.
{
{      3 - Equipment number. (not used)
{
{      4 - Unit number. (not used)
{
{      5 - Unit type value.
{          1  = $380-170.
{
{      6 - Logical Operation Code (not used).
{
{      7 - Failure severity. (3 specifies informative
{          message).
{
{      8 - Symptom code.  A number which corresponds
{          to a symptom code defined in the descriptive
{          data section (i.e. a "0" is a CONNECTION
{          FAILURE).
{
{      9 - Retry count.  (not used)
{
{     10 - Connection number.
{
{     11 - Network Break Reason Code.  Specifies the reason code for
{          an unanticipated connection failure.
{          NOTE - these codes are equivalent to the network
{          break reason codes defined in the 170 NAD HRM.
{
{   The following counters are used to define the physical path
{   between the local NAD and the remote host.
{
{     12 - Local TCU mask.  Specifies the local NAD TCU mask where
{          bit zero is the mask bit for TCU zero, etc.  Each non-zero
{          bit means that the corresponding TCU was selected for use
{          by the corresponding path.
{
{     13 - Remote TCU mask.  Specifies the remote NAD TCU mask where
{          bit zero is the mask bit for TCU zero, etc.  Each non-zero
{          bit means that the corresponding TCU was selected for use
{          by the corresponding path.
{
{     14 - Remote NAD Address.  Specifies the address
{          of the remote NAD.
{
{     15 - Logical Network.  Specifies the network identifier
{          of the location of the network containing
{          the destination NAD.  A value of zero means that the remote
{          NAD is the destination NAD.
{
{     16 - Logical NAD.  Specifies the logical address of the
{          destination NAD within the specified logical network.  This
{          counter is not meaningful if the logical network value is
{          zero.
{
{   The following counters are used to isolate the failure along the
{   path to a specific NAD.
{
{     17 - Failing Network.  Specifies the network identifier
{          of the location of the network where the failing
{          NAD resides.  A value of zero means that the error
{          occurred within the local area network.
{
{     18 - Failing NAD.  Specifies the physical address of the
{          NAD that failed.
{
{     19 - Hop count.  Specifies the number of NADs between the local
{          NAD and the failing NAD.  A value of zero means the
{          failure occurred in the local NAD.
{
{     20 - Remote path number.  Specifies the path number
{          that was assigned to the connection in the
{          remote NAD.  If zero, the remote path ID could not
{          be obtained.

  CONST
    cml$rhfam_network_failure = cmc$min_ecc + 7201;

*copyc cmc$condition_limits
