This document covers the following topics:
Validate a command or command-object combination for a specific cabinet.
Z-CMDOBJ can be invoked before other API subprograms to determine whether a user has the authority to use a certain command-object combination. Thus, additional security is provided whenever a user-written application is invoked.
Note:
Using this subprogram increases overhead.
| Parameter | Format | In | Out | Remarks |
|---|---|---|---|---|
| Return-code | N2 | X | ||
| Cabinet | A8 | R | The cabinet for which you want to validate a command or command-object combination. | |
| Filler | A8 | For future use. | ||
| Command-number | N2 | R | See the Con-nect Administration documentation, section System Maintenance for a list of command numbers. | |
| Object-number | N2 | O | See Object Numbers. |
| 00 | Success |
| 01 | Command or command-object combination not permitted |
None