Table of Contents

DMSSVT Abstract

Statistics

Type ASSEMBLE
Source Lines : 2,825
Fixes Applied : 6
Most Recent Version : Tuesday, December 12, 1978
Last Fix ID : [HRC380DS]

Synopsis

Module

       DMSSVT

Function

       DMSSVT PROCESSES OS MACROES.

Attributes

       SERIALLY  REUSABLE, TRANSIENT

Operation

       KEYSAV GETS CONTROL  FROM EITHER DMSSBD OR  THE CLOSE
       ROUTINE, DMSSOP.

       .  IF  KEYSAV GETS CONTROL  FROM DMSSBD, A  KEY TABLE
          AND A PLIST FOR
          ACCESSING THE KEY  TABLE IS BUILT IN  CORE.  NEXT,
          THE XTENT PARAMETER IS READ FROM THE LAST ITEM IN
          THE DATA FILE AND IF THE FILE FORMAT IS FIXED OR IF
          THE FILE IS NOT BEING UPDATED, CONTROL IS RETURNED
          TO DMSSBD. OTHERWISE
          TWO NEW FILES  WITH THE SAME FILETYPE  AS THE DATA
          FILE, BUT WITH FILENAMES  OF $KEYTEMP AND $KEYSAVE
          ARE CREATED, USING THE KEYS AT THE END OF THE DATA
          FILE.  THE $KEYTEMP FILE WILL  BE USED FOR UPDATES
          TO THE KEYS, AND THE $KEYSAVE FILE WILL BE USED IN
          CASE OF A  SYSTEM CRASH OR RE-IPL.   IF A $KEYSAVE
          FILE ALREADY  EXISTS FOR  A DATA  FILE WHEN  IT IS
          OPENED, THEN THE  KEYS FROM THAT FILE  RATHER THAN
          THE KEYS  FROM THE END OF  THE DATA FILE,  WILL BE
          USED TO CREATE  $KEYTEMP. AFTER THE TWO  FILES ARE
          CREATED, CONTROL
          IS RETURNED TO DMSSBD.

       .  IF KEYSAV GETS CONTROL FROM DMSSOP, THEN KEYS FROM
          THE LAST KEY TABLE REFERRENCED ARE SAVED. IF THE FILE
          FORMAT IS FIXED OR IF THE FILE WAS NOT UPDATED,
          THE CORE FOR THE KEY TABLE AND KEY PLIST IS FREED
          AND CONTROL IS RETURNED TO DMSSBD. OTHERWISE, THE
          $KEYTEMP FILE ARE  READ IN AND WRITTEN  AT THE END
          OF  THE DATA  FILE.  WHEN  THIS IS  COMPLETE,  THE
          $KEYTEMP AND  $KEYSAVE FILES ARE ERASED,  THE CORE
          FOR THE KEY  TABLE AND ITS PLIST IS  FREED UP, AND
          CONTROL
          IS RETURNED TO DMSSOP.

Calls to Other Routines

       DMSERR,DMSSTT,DMSDBD,DMSBWR,DMSBRD,DMSFNS,DMSERS,DMSFRE,
       DMSADL,DMSUFD,DMSSBDFR,DMSCRD,DMSCWR,GETMAIN,FREEMAIN,
       NOTE, TIME, DMSKEY, DMSROS