Notes
1All of the user directory, user machine, and user device buffers that were used
are written. The buffers are written
out byloading the DASD address into
register2, loading the buffer address
into register1, and then branching and I linking to the V'JR!TE ioutine. 2 Th""""''' tabl,;, b,;". A "bl, I I setting of X,04' indicates an unallocated
cyiinder andX'OC' indicates an allocated cylinder. The VOLl and allo· cation records are written.
3 First the returnPSW is set up and
Registers 1 and 2 are set to thevolume serial number. The user directories
are swapped via aDIAGNOSE call
toDMKUDRDS. The DIAGNOSE will
program check if the user is not classA, B, or C. The directories are not
swapped if thevolume is not found
in theOWNDLIST or if an I/O error occurs under CPo The message EOJ DIRECTORY UPDATED
appears on theconsole and control I returns to CMS. I If no errors occur, and if the active I system directory was updated, the
directories are swapped. The messageI EOJ DIRECTORY UPDATED AND I ON LINE
appears on theconsole and control returns to CMS. Module DMKDIR Write out all the used buffers.
2 Build and write allocation record.
3If running under the control of VM/370, swap directories, issue
message and return toCMS. 4 If running standalone, issue
message and enter wait state.
Label Ref NotesI- - - • - -;> I CMS EXIT 4 If not running under VM/370, the
messageEOJ DIRECTORY UPDATED
appears on theconsole and the wait
state is entered byloading the DMKDIR ISCANAll1 SVCNEW PSW. I DMKDiR MOVEPSW LOOP 11
Directory
Module Label RefDMKDIR BARE
Diagra. 4-5. DirectoryExit Chapter 4. t!KDIR--The Directcry progra. 87
1
are written. The buffers are written
out by
register
into register
cyiinder and
3 First the return
Registers 1 and 2 are set to the
are swapped via a
to
program check if the user is not class
swapped if the
in the
appears on the
directories are swapped. The message
appears on the
2 Build and write allocation record.
3
message and return to
message and enter wait state.
Label Ref Notes
message
appears on the
state is entered by
Directory
Module Label Ref
Diagra. 4-5. Directory