{
{   The purpose of this request is to validate maintenance access to the media
{ mounted on a mass storage device which is in the active configuration.
{
{   Two types of access are permitted to media:  CONCURRENT and DEDICATED.
{ CONCURRENT access implies that customer or system data recorded on the media
{ will not be erased, overwritten nor otherwise invalidated.  DEDICATED access
{ implies that any data recorded on the media is at risk:  therefore,
{ DEDICATED access will only be granted to media which does not have valid
{ customer or system data recorded on it.
{
{   In addition to the validation performed below, the NOS/VE operator, if
{ present, will be asked to confirm maintenance access to the media.
{
{   For CONCURRENT access to be granted, the storage device must:
{
{        1.  Be in either the ON or the DOWN state.
{
{        2.  Not be reserved (e.g.  cmp$reserve_element) nor assigned (e.g.
{            cmp$mount_storage_medium or ASSIGN_DEVICE command) to any job.
{
{        3.  Have been the object of an msp$request_maintenance_access request
{            for either CONCURRENT or DEDICATED maintenance.
{
{        4.  Have media mounted and online.
{
{   Successful attempts to obtain CONCURRENT maintenance access to media which
{ is a member of a NOS/VE mass storage set will be logged in the Engineering
{ Log (and potentially other log(s) at the discretion of the site.
{
{   For DEDICATED access to be granted, the storage device must:
{
{        1.  Be in the DOWN state.
{
{        2.  Not be reserved (e.g.  cmp$reserve_element) nor assigned (e.g.
{            cmp$mount_storage_medium or ASSIGN_DEVICE command) to any job.
{
{        3.  Have been the object of an msp$request_maintenance_access request
{            for DEDICATED maintenance.
{
{        4.  Not have media mounted which is a member of an active NOS/VE mass
{            storage set.
{
{       MSP$VALIDATE_MEDIA_ACCESS (STORAGE_DEVICE, ACCESS, STATUS)
{
{ STORAGE_DEVICE: (input)  This parameter specifies the identity of the
{       storage device whose media is the object of the access validation.
{
{ ACCESS: (input)  This parameter specifies the kind of access which will be
{       required by maintenance software.
{
{ STATUS: (output) This parameter specifies the request status.
{
{         CONDITIONS:
{                     cme$lcm_element_not_found,
{                     cme$privileged_job_required.
{
{         IDENTIFIER : 'CM'
{
{
