SDAMSEX1 - SDAM API Security Exit

SDAMSEX1 is a user-written routine called by the SDAM API before a request is passed to SDAM. The exit can be used to impose security restrictions on the use of SDAM functions and resources, over and above those defined in Com-plete.

This document covers the following topics:


SDAMSEX1 Conventions

The following table summarizes the SDAMSEX1 linkage conventions:

Feature Convention
Registers at Return Registers 12 through 14 must not be modified.
Parameters Register 1: Points to the SACB (SDAM control block)
Return Codes
0 Allow the function
4 Disallow the function.
Considerations
a Called by SDAM
b Linkage is dynamic, with COLOAD