ibm:vm370-lib:cms:dmsdsv.assemble_abs
Table of Contents
DMSDSV Abstract
Statistics
Type ASSEMBLE
Source Lines : 2,734
Fixes Applied : 2
Most Recent Version : Tuesday, December 12, 1978
Last Fix ID : [R14978DS]
Synopsis
Module
DMSDSV (DSERV)
Function
DMSDSV WILL LIST THE DIRECTORIES OF DOS PRIVATE OR SYSTEM PACKS.
Attributes
NON-REUSABLE NON-REENTRANT
Operation
CONTROL ENTERS DSERV AT THE LOCATION STARTA. A CHECK IS MADE TO DETERMINE DOS IS ACTIVE AND CONTROL IS THEN PASSED TO DSERV1 TO CHECK FOR PLIST ERRORS AND THE OPERATIONS DESIRED. ALSO, TESTS ARE MADE TO DETERMINE IF SYSTEM OR PRIVATE LIBRARIES ARE ASSIGNED AND APPROPRIATE INDICATORS ARE SET. THE BRANCH TABLE IS SET TO PASS CONTROL TO THE ROUTINE THAT PERFORMS THE DESIRED OPERATION. AT THE CONCLUSION OF THE OPERATION, CONTROL RETURNS TO DSERV1 TO CHECK FOR ANOTHER OPERATION OR, IF NONE, TO TERMINATE THE PROGRAM. DSERV2 RECEIVES CONTROL IF THE DESIRED OPERATION IS TO PRINT THE TRANSIENT OR CORE IMAGE DIRECTORY. THE HEADER IS INITIALIZED AND A RECORD IS READ. IF A CD REQUEST WAS MADE WITH A PHASENAME, THE DIRECTORY IS SEARCHED FOR THE SPECIFIED PHASENAME. THE HEADER IS THEN PRINTED AND THE DIRECTORY ENTRIES ARE MASSAGED TO FIT THE OUTPUT FORMAT. ADDITIONAL RECORDS ARE READ AND PRINTED UNTIL THE REQUEST IS SATISFIED, THEN CONTROL RETURNS TO DSERV1. DSERV3 RECEIVES CONTROL IF THE DESIRED OPERATION IS TO PRINT THE RELOCATABLE, SOURCE STATEMENT, OR PROCEDURE DIRECTORY. THE RECORDS ARE READ INTO CORE AND SORTED IF SORT WAS SPECIFIED. IF NOT ENOUGH CORE IS AVAILABLE, THE ADDITIONAL RECORDS WILL BE READ IN SUBSEQUENT PASSES UNTIL ALL ARE PROCESSED. CONTROL IS THEN PASSED TO THE PROPER PRINT ROUTINE. DSERV4 RECEIVES CONTROL IF THE RELOCATABLE OR SOURCE STATEMENT DIRECTORY IS TO BE PRINTED. RELOC- ATABLE DIRECTORY ENTRIES ARE FORMATTED TO RESEMBLE SOURCE STATEMENT DIRECTORY ENTRIES FOR COMMON PRINT ROUTINE AND THE ENTRIES ARE TRANSLATED TO PRINTABLE CHARACTERS. WHEN ALL THE RECORDS ARE PRINTED, A CHECK IS MADE TO DETERMINE IF MORE ARE AVAILABLE. IF SO, A SWITCH IS SET TO INDICATE TO DSERV1 TO RETURN TO DSERV3. DSERV5 RECEIVES CONTROL IF THE PROCEDURE DIRECTORY IS TO BE PRINTED. THE DIRECTORY ENTRIES ARE TRANSLATED TO PRINTABLE CHARACTERS AND PRINTED. WHEN COMPLETE, A CHECK IS MADE TO DETERMINE IF MORE ENTRIES ARE AVAILABLE. IF SO, A SWITCH IS SET TO INDICATE TO DSERV1 TO RETURN TO DSERV3.
Calls to Other Routines
DMSERR, DMSPRT
ibm/vm370-lib/cms/dmsdsv.assemble_abs.txt ยท Last modified: 2023/08/06 13:35 by Site Administrator