UDVSX0 is a user-written service routine that can be used to control and/or restrict the use of UDS/UDVS VSAM SERVICES.
When Com-plete is initially installed, no UDVSX0 module is available. This routine must be coded with the standard Com-plete exit requirements.
Note:
UDVSX0 is called for each VSAM SERVICES operation.
This document covers the following topics:
At the time UDVSX0 is called, register 1 points to the IDCAMS control statement that will be executed. The control statement area has a contiguous length of 280 bytes. It will be presented to IDCAMS as 4 lines with 70 bytes each. A ZERO return code of 0 (zero) in register 15 will allow the operation. A non-zero return code in register 15 disallows the operation.
Note that the exit can modify the control statement area.
The following table summarizes the UDVSX0 linkage conventions.
Feature | Convention | ||||||||
---|---|---|---|---|---|---|---|---|---|
Attributes | None required. | ||||||||
Type | Online. | ||||||||
Size | No restrictions. | ||||||||
Registers at Entry |
|
||||||||
Registers at Return | Registers must be unchanged except register 15, which contains the return code. | ||||||||
Return Codes |
|
||||||||
Considerations | Will be loaded by UDS/UDVS. |