Table of Contents

DMKVDE Abstract

Statistics

Type ASSEMBLE
Source Lines : 1,098
Fixes Applied : 10
Most Recent Version : Thursday, December 7, 1978
Last Fix ID : [HRC039DK]

Synopsis

Module

       DMKVDE

Function

       TO VERIFY THE EXISTENCE OF A DEVICE WHICH IS BEING ATTACHED.

Attributes

       REENTRANT, PAGEABLE, CALLED VIA SVC

Operation

       DMKVDEDC - SUBROUTINE TO VERIFY DEVICE EXISTENCE.            *
       SETS UP AN I/O TASK (TIO) TO SEE IF DEVICE EXISTS.           *
       IF THE DEVICE DOES NOT EXIST, IT IS MARKED OFFLINE           *
       AND THE APPROPRIATE RETURN CODE IS PLACED IN SAVER2          *
       TO BE PASSED BACK TO DMKVDA.  A 'DOES NOT EXIST' MESSAGE     *
       WILL BE ISSUED BY DMKVDA.                                    *
                 -------------------------------                    *
       IN ADDITION, FOR DASD DMKVDE                                 *
       SETS UP AND EXECUTES AN I/O TASK TO READ THE DASD VOLUME     *
       LABEL OF THE DEVICE BEING ATTACH'ED. IF SUCCESSFUL, THE      *
       VOLUME SERIAL IS INSERTED INTO THE 'RDEVSER' FIELD OF THE    *
       REAL DEVICE BLOCK. RETURN CODES ARE SET IN SAVER2 TO         *
       INDICATE FAILURE OF THE READ.  IF A CP/370 OWNED VOLUME IS   *
       ENCOUNTERED, A FLAG IS SET IN THE DMKVDA SAVE AREA.          *
       IF DMKVDE HAS BEEN CALLED WITH PARM=1, MEANING ALLOCATION    *
       DATA IS PRESENT, DMKVDE WILL READ THE ALLOCATION RECORD      *
       INTO FREE STORAGE.                                           *

Calls to Other Routines

       DMKIOSQR
       DMKDSPCH
       DMKSCNRU
       DMKFREE
       DMKFRET