ULMSDISK is a user-written routine called by the Com-plete printout spooling system immediately before and after allocation of terminal information control block (TIB) for a dynamically acquired printer device. Possible uses of this exits are:
Test for valid printer name;
Modification of the TIB entry for this printer. Specifically, this enables you to overwrite the TIBNAME field and so re-route the printout onto an alternative printer. This is useful when there is no rigid relationship between logical printer definitions (for example, in Natural) and the physical printer itself (that is, VTAM LU definition).
This document covers the following topics:
Upon entry to ULMSDISK the following registers are set:
Register 5 contains the address of the filled TIB entry, or 0 if the call to ULMSDISK is before dynamic allocation. If register 5 is 0, Register 1 contains the address of the printer name.
The following table summarizes the ULMSDISK linkage conventions.
Feature | Convention | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Attributes | Reentrant. | ||||||||||
Type | Nucleus. | ||||||||||
Registers at Entry |
|
||||||||||
Registers at Return | Before allocation: | ||||||||||
|
|||||||||||
After allocation: all registers must remain unchanged. | |||||||||||
Parameters | None. | ||||||||||
Return Codes | Before allocation: | ||||||||||
|
|||||||||||
After allocation: none | |||||||||||
Considerations |
|