ibm:vm370-lib:cms:dmsalu.assemble_abs
Table of Contents
DMSALU Abstract
Statistics
Type ASSEMBLE
Source Lines : 642
Fixes Applied : 3
Most Recent Version : Tuesday, December 12, 1978
Last Fix ID : [HRC015DS]
Synopsis
Module
DMSALU (RELUFD)
Function
FOR A GIVEN DISK, TO RELEASE ALL TABLES KEPT IN FREE STORAGE AND TO CLEAR APPROPRIATE INFORMATION IN THE ACTIVE DISK TABLE.
Attributes
DISK RESIDENT
Operation
FOR THE GIVEN ACTIVE DISK TABLE, THE FOLLOWING TABLES ARE RETURNED TO FREE STORAGE VIA DMSFRET, IF THEY ARE CURRENTLY RESIDENT FOR A CMS DISK: 1. ALL FST HYPERBLOCK EXTENSIONS (IF ANY) 2. THE FIRST FST HYPERBLOCK IF IT WAS IN FREE STORAGE 3. MASTER FILE DIRECTORY 4. QMSK BIT-MASK 5. QQMSK TABLE IF IT WAS IN FREE STORAGE IN CLEARING ANY OF THE ABOVE, THE APPROPRIATE FLAG-BITS ARE ALSO CLEARED, AND ANY POINTERS POINTING TO THE OLD TABLES. FOR CERTAIN TABLES, DMSALU CLEARS THEM IF THEY EXIST BUT ARE NOT IN FREE STORAGE, NAMELY: 1. FIRST FST HYPERBLOCK IS NOT IN FREE STORAGE 2. QQMSK IF NOT IN FREE STORAGE FOR AN O/S DISK, THE O/S FST BLOCKS (IF ANY) ARE RE- TURNED TO FREE STORAGE VIA DMSFRET. THE OSFST POINTER IN ALL ACTIVE O/S FCB'S IS CLEARED, THEN THE DMSROS USAGE COUNT IS DECREMENTED AND IF THE USAGE COUNT IS ZERO, THEN THE ADDRESS OF DMSROS IN THE NUCLEUS AREA IS CLEARED, AND THE AREA OCCUPIED BY DMSROS IS RE- TURNED TO FREE STORAGE VIA DMSFRET. DMSALU ALSO CLEARS ALL INFORMATION IN THE ACTIVE DISK TABLE FROM ADTMFDN THROUGH ADTCYL, AND SETS THE ADTMX EXTENSION-MODE-LETER TO A BLANK. ALSO, DMSALU CLEARS ALL INFORMATION IN THE ACTIVE DISK TABLE FROM ADTPQM1 TO ADTRES, AND ALSO CLEARS THE ADTFLG2 FLAG-BYTE. DMSALU IS CALLED BY DMSARE FOR RELEASING AN ACTIVE DISK, AND BY DMSACC AND DMSFOR TO CLEAR ALL INFORMATION BEFORE READING IN OR CREATING A NEW USER FILE DIRECTORY FOR THE GIVEN DISK.
Calls to Other Routines
DMSFRET
ibm/vm370-lib/cms/dmsalu.assemble_abs.txt ยท Last modified: 2023/08/06 13:35 by Site Administrator