{
{ CML$MS_MEDIA_FLAW_CHANGE
{
{
{ PURPOSE:
{    This statistic provides notification of the change in the
{ state of a mass storage media flaw.  This statistic is emitted
{ either by an automatic flawing of media by NOS/VE itself or by
{ a manual change performed by the LCU subcommands DEFINE_MS_FLAW
{ and REMOVE_MS_FLAW.
{    If a manual change originates from a job whose class
{ is maintenance, the initiator is assumed to be a "CE".
{    If a manual change originates from a job whose class
{ is not maintenance, the initiator is identified as an "operator".
{
{ FREQUENCY:
{    Whenever the system encounters a media failure which cannot
{    be tolerated and which prevents further use of a sector
{    or whenever an operator or a CE manually flaws mass storage
{    media.
{
{ CONTENT:
{    The  descriptive-data portion of this statistic contains:
{
{    '<mf>.<element>*<vsn>*<message>'
{
{      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  <element>  is  the name of the mass storage element
{        whose media state is affected.
{
{      where <vsn> is the recorded-vsn which identifies the media
{        mounted on the specified element.
{
{      where <message> is one of the following:
{        'MEDIA FLAW DEFINED (Ccccc Ttt Sss) .. (Ccccc Ttt Sss)'
{        'MEDIA FLAW REMOVED (Ccccc Ttt Sss) .. (Ccccc Ttt Sss)'
{
{    The counter-value portion of this statistic contains:
{
{    1.  Flawing Operation Code
{       1 - Flaw Defined.
{       2 - Flaw Removed.
{    2.  Initiator Code
{       1 - Initiated by the NOS/VE system due to media failure.
{       2 - Initiated by an operator.
{       3 - Initiated by a Customer Engineer (CE).
{    3.  Starting Cylinder
{    4.  Starting Track
{    5.  Starting Sector
{    6.  Ending Cylinder
{    7.  Ending Track
{    8.  Ending Sector



  CONST
    cml$ms_media_flaw_change = cmc$min_ecc + 201;

*copyc cmc$condition_limits

