Type ASSEMBLE
Source Lines : 1,328
Fixes Applied : 2
Most Recent Version : Saturday, December 9, 1978
Last Fix ID : [R09957DK]
Module
DMKCSP
Function
DMKCSP CONTAINS THE SPOOL COMMAND FOR CLASS G USERS.
Attributes
REENTRANT, PAGEABLE, CALLED VIA SVC
Operation
EACH COMMAND PROCESSOR IS ENTERED VIA A CALL FROM DMKCFM. THE PROCESSING LOGIC IS EMBODIED IN A SERIES OF INTERNAL CALLS TO A SET OF OPTION PROCESSORS AND LIST SCANNERS. IN GENERAL, THE OPTION PROCESSORS ARE CALLED WHEN IT IS KNOWN, EITHER BY POSITION OR KEYWORD, WHAT TYPE OF OPERAND MUST APPEAR NEXT ON THE COMMAND LINE. THE OPTION PROCESSORS SCAN FOR THE NEXT FIELD, VERIFY ITS VALIDITY, AND SET UP INFORMATION FOR USE BY THE LIST SCANNERS. SINCE THE OPERATIONAL DESCRIPTION OF EACH OF EACH COMMAND PROCESSOR REFERENCES THESE SUBROUTINES, A LIST OF THEIR NAMES AND FUNCTIONS IS GIVEN HERE; A DESCRIPTION OF THE OPERATIONAL LOGIC AND REGISTER SETS FOR EACH SUBROUTINE APPEAR AT THE END OF THE MODULE OPTION PROCESSORS - 1. GETUSER - SAVE THE USER ID OF THE FILE'S OWNER 2. GETYPE - SAVE THE FILE TYPE (OR DEVICE TYPE) 3. GETCOPY - LOCATE AND SAVE THE NUMBER OF COPIES REQUESTED AND METHOD OF MULTIPLE COPY TRANSMISSION 4. GETNAME - LOCATE AND SAVE THE FILE NAME (AND TYPE) 5. GETCLASS - LOCATE AND VERIFY THE CLASS REQUESTED (2ND LEVEL ROUTINE) 6. GETCHARS - SAVE AND VERIFY CHARS VALUE SPECIFIED 7. GETFLASH - SAVE AND VERIFY FLASH VALUES SPECIFIED 8. GETCMOD - SAVE AND VERIFY COPY MOD NAME 9. GETFCB - SAVE AND VERIFY FCB NAME SPECIFIED LIST SCANNING ROUTINES - 1. GETDEVIC - LOCATE THE NEXT VDEVBLOK OF THE APPROPRIATE ADDRESS, CLASS AND TYPE (2ND LEVEL ROUTINE) 2. GETFILE - LOCATE THE NEXT FILE OF THE CORRECT CLASS, ID, AND OWNER 3. GETCHAIN - LOCATE THE NEXT FILE CHAIN TO SEARCH (2ND LEVEL ROUTINE)
Calls to Other Routines
DMKFREE - TO OBTAIN A BLOCK FROM FREE STORAGE DMKFRET - TO RETURN STORAGE DMKUDRFU - TO VERIFY A 'USERID' DMKCSOSD - TO START RDR, PRINTER OR PUNCH DMKSTKIO - TO STACK AN IOBLOK DMKSCNVU - LOCATE A VDEVBLOK DMKUDRRV - TO CLOSE THE DIRECTORY DMKSCNFD - SCAN THE COMMAND LINE BUFFER FOR OPTIONS DMKQCNWT - WRITE RESPONSE AND ERROR MESSAGES DMKVSPCO - CLOSE (AND OPTIONALLY PURGE) OUTPUT SPOOL FILES DMKVSPCR - CLOSE READER FILES DMKSPLDL - DELETE PURGED FILES FROM THE SYSTEM DMKCVTHB - CONVERT HEX ADDRESS OPTIONS TO BINARY DMKCVTDB - CONVERT DECIMAL SPOOLID NUMBERS TO BINARY DMKERMSG - WRITE ERROR MESSAGES DMKCKSPL - CHECKPOINT THE BLOCKS