
{
{ CML$7990_CHANNEL_ERROR
{
{
{ PURPOSE:
{    The purpose of this statistic is to record the channel failure data
{    captured by the application when accessing the 7990 channel.
{
{ FREQUENCY: At occurrence of failure.
{
{ CONTENT:
{    The  descriptive data portion of this statistic contains:
{
{   '<mf>.<iou>.<pp>.<channel>.<controller>.<smx>.<drd>.<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 (CP0), e.g. 0990, and 'ssss' is the
{        serial number of that processor, e.g. 0104.
{
{      where  <iou>  is  the  string  'IOUn' where n is 0 or 1.
{        This identifies the IOU associated with the channel over
{        which the failure was reported.
{
{      where <pp> is either the string 'PPn' or 'CPPn' and where 'n'
{        is the decimal representation of the logical PP number used
{        to process the failing request.  Note that 'CPP' is the
{        designation given to the concurrent PPs in an I4 IOU.
{
{      where <channel> is either the string 'CHn' or 'CCHnp',
{        where 'n' is the decimal representation of the channel and
{        where 'p' is the channel port (A or B) through which the
{        disk device was accessed.  Note that 'CCH' is the
{        designation given to the concurrent channels in an I4 IOU.
{
{      where <controller> is the element name of the 7990 controller
{        used in the failing request.
{
{      where <smx> is the element name of the storage module
{        device used in the reporting request. x = 'A' through 'H' to
{        denote the eight possible storage modules.
{
{      where <drd> is the data recording device index ( 0 or 1).
{
{      where <symptom> is text describing the failure provided by the CCC
{        controller or the PP status.
{
{      The counter value portion of this statistic contains:
{
{    counter        description
{
{       1        Logical PP number.
{                Bits 63 thru 58 logical PP number.
{                Bit 57 is set to 1 for an I4 concurrent PP.
{                Bits 56 thru 52 reserved for CDC.
{                Bits 51 thru 46 contains IOU number.
{                Bits 45 thru 0 reserved for CDC.
{       2        Channel Number of Controller.
{                Bits 63 thru 58 channel number.
{                Bit 57 channel type
{                       0 = nonconcurrent channel  (CH)
{                       1 = concurrent channel (CCH)
{                Bit 56 port a.
{                Bit 55 port b.
{                Bits 54 thru 52 reserved for CDC.
{                Bits 51 thru 46 IOU number.
{                Bits 45 thru 32 reserved.
{                Bits 31 thru 16 Final C170/DMA channel Error Status Register.
{                Bits 15 thru 0 Initial C170/DMA channel Error status Register.
{       3        Equipment Number of the Controller.
{       4        Physical Unit Number.
{       5        Logical Operation Code
{                1 - read message
{                2 - read associated data
{                3 - write message
{                4 - write associated data
{                5 - function
{                6 - read data
{                7 - write data
{       6        Failure Severity
{                0 - Recovered Failure Report
{                1 - Unrecovered Failure Report
{                2 - Intermediate Failure Report
{                3 - Informative Message
{       7        2 - 12 bit general status words.  (right justified)
{       8 - 12   25 - 12 bit bytes of detail status of the 7990.
{
{      13   Failure Symptom Code for errors detected by the CCC controller.
{
{        CCC ERROR CODE MESSAGES (2 BYTES)
{
{        0001(8), 'CONNECT REJECTED - UNIT NOT AVAILABLE'
{        0002(8), 'CONNECT REJECTED - UNIT BUSY'
{        0003(8), 'FUNCTION REJECTED - UNIT NOT READY'
{        0006(8), 'WRITE RING MISSING'
{        0010(8), 'I/O TIME OUT ON FIPS TRANSFER'
{        0040(8), 'FIPS INTERFACE TIMEOUT ON A READ'
{        0041(8), 'FIPS INTERFACE TIMEOUT ON A WRITE'
{        0042(8), 'FIPS INTERFACE TIMEOUT ON A SENSE'
{        0043(8), 'FIPS INTERFACE TIMEOUT ON A FUNCTION'
{        0044(8), 'FIPS RESPONSE TIMEOUT WAITING FOR UNIT TO BECOME NOT BUSY'
{        0050(8), 'UNRECOGNIZABLE FUNCTION CODE'
{        0051(8), 'NO UNIT CONNECT'
{        0116(8), 'FULL/EMPTY COUNTER WAS INCORRECT'
{        0130(8), 'TIMEOUT WAITING REQUEST IN'
{        0131(8), '799X MESSAGE DEVICE UNIT CHECK'
{        0132(8), '799X MESSAGE DEVICE UNIT EXCEPTION'
{        0150(8), 'CCC CONTROLWARE DETECTED CHECKSUM ERROR ON 799X FUNCTION'
{        0151(8), '799X DETECTED A MESSAGE CHECKSUM ERROR ON TEST PATH'
{        0156(8), 'TIMEOUT ON REQUEST TO CYBER 170 DEVICE INTERFACE'
{        0157(8), 'TIMEOUT WAITING REQUEST IN AFTER WRITE FILE MARK'
{        0160(8), 'ABNORMAL STATUS FROM FIPS DEVICE INTERFACE ON TRANSFER REG'
{        0164(8), 'ABNORMAL STATUS FROM FIPS DEVICE INTERFACE ON SYSTEM RESET'
{        0165(8), 'ABNORMAL STATUS FROM FIPS DEVICE INTERFACE AFTER SENSE'
{        0170(8), 'FIPS SEQUENCE ERROR'
{        0171(8), 'FIPS INTERFACE ERROR'
{        0172(8), 'CYBER 170 DEVICE INTERFACE CHANNEL PARITY ERROR'
{        0173(8), 'CYBER 170 DEVICE INTERFACE INDICATES COUPLER PARITY ERROR'
{        0174(8), 'CYBER 170 DEVICE INTERFACE CONTROL PACKAGE PARITY ERROR'
{        0175(8), 'CYBER 170 DEVICE INTERFACE DEADMAN TIMER EXPIRED'
{        0177(8), 'CYBER 170 DEVICE INTERFACE UNDEFINED STATUS ERROR'
{
{      14   Failure Symptom Code for errors detected by the PP
{
{        If a hardware interface error occurs, the PP returns one of the
{        following hexadecimal error codes:
{
{        30 - Channel function timeout error
{        31 - Channel parity error
{        32 - Channel failed to empty after output
{        33 - Channel full before output
{        34 - Channel active before function
{        35 - Channel empty before input
{        36 - Status error following Autoload/Autodump
{        37 - Premature exit from an I/O instruction
{        38 - Adapter - DMA uncorrected CM error
{        39 - Adapter - CM reject
{        3A - Adapter - Invalid CM response
{        3B - Adapter - CM reponse code parity error
{        3C - Adapter - CMI read data parity error
{        3D - Adapter - Clock fault
{        3E - Adapter - Overflow error
{        3F - Adapter - Input error
{        40 - Adapter - 12/16 conversion error
{        41 - Adapter - JY data error
{        42 - Adapter - BAS parity error
{        43 - Adapter - KZ board error
{        44 - Adapter - JY board error
{        45 - Adapter - KX board error
{        46 - Adapter - DMA transfer halted early error
{
{        Note: Error codes 38(16) through 46(16) apply only to the C170 DMA
{              Adapter.
{
{            COUNTERS USED IF THE PPU REPORTS THE ERROR
{     15. Last function code sent to the 7990 controller (right justified)
{

  CONST
    cml$7990_channel_error = cmc$min_ecc + 9001;

*copyc cmc$condition_limits
