UUMAX2 - UMAP Command Exit

#### Search Results

Search

# UUMAX2 - UMAP Command Exit

UUMAX2 is a user-written routine called by the UMAP utility program before servicing a UMAP option. This module allows the user to modify global defaults to UMAP and restrict UMAP execution by user ID.

This document covers the following topics:

- How to Use UUMAX2

- UUMAX2 Conventions

## How to Use UUMAX2

Upon entry to UUMAX2, a set of parameters is received in the form of fullword addresses in register 1.

## UUMAX2 Conventions

The following table summarizes the linkage conventions of UUMAX2.

Feature | Convention
--- | ---
Attributes | Reentrant if in a resident area
Type | Thread
Size | Restricted to the UMAP thread region
Registers at Entry |
Register 1 | Address of the parameter list
Register 13 | Address of an 18-fullword save area
Register 14 | Return address in the calling module
Register 15 | Entry address of UUMAX2
Registers at Return | Registers 2 through 13 remain unchanged. Register 15 contains the return code.
Parameters |
Word 1 | Address of the eight-byte user ID.
Word 2 | Address of the two-byte TID.
Word 3 | Address of a one-byte UMAP option code:
Return Codes |
0 | Allow the request.
4 | Disallow the request.
Considerations | Will be loaded dynamically.

### On this page

- How to Use UUMAX2
- UUMAX2 Conventions