Type ASSEMBLE
Source Lines : 1,454
Fixes Applied : 10
Most Recent Version : Thursday, December 7, 1978
Last Fix ID : [HRC106DK]
Module
DMKSPL
Function
INITIALIZE CONTROL BLOKS AND BUFFERS FOR VIRTUAL PRINTER AND PUNCH OUTPUT SPOOL FILES
Attributes
REENTRANT, PAGEABLE, CALLED VIA SVC
Operation
1. CALL BUILDCTL SUBROUTINE TO CONSTRUCT SFBLOK AND VSPCTL WORKAREA; IF NO DASD SPACE IS AVAILABLE, EXIT; OTHERWISE, CONTINUE 2, MOVE ORIGINATING USERID INTO SFBLOK; CALL DMKPTRAN VIA TRANS MACRO TO LOCATE AND RESERVE A REAL PAGE BUFFER 3. CLEAR BUFFER LINK FIELD; SET UP LOGICAL RECORD SIZE; CLEAR END OF FIRST DASD BUFFER; MODIFY CALLER'S REGS 7 AND 9 TO POINT TO NEW BLOKS, AND EXIT TO CALLER
Calls to Other Routines
DMKFREE - TO OBTAIN STORAGE FOR CONTROL BLOKS DMKPTRAN - TO RESERVE A REAL STORAGE PAGE BUFFER DMKPGTVG - TO OBTAIN A VIRTUAL STORAGE BUFFER DMKPGTSG - TO OBTAIN THE ADDRESS OF A DASD PAGE DMKCVTDT - TO OBTAIN THE DATE AND TIME OF THE FILES CREATION