1 | Department | Input | Char(10) |
2 | Error code | I/O | Char(*) |
The Remove Department (QOKRMVDP) API removes a department from the system distribution directory. The department field in the directory for the removed department members is blanked out. To remove individual members from within a department, use the DEPT parameter on the Add Directory Entry (ADDDIRE) and Change Directory Entry (CHGDIRE) CL commands.
Removing a department requires *SECADM (security administrator) authority.
The department name to remove. The department name must not be blank. When there are duplicate department names in the directory, the first match found is removed. The department name value is not case sensitive when being checked.
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
Message ID | Error Message Text |
---|---|
CPF24B4 E | Severe error while addressing parameter list. |
CPF3C90 E | Literal value cannot be changed. |
CPF3CF1 E | Error code parameter not valid. |
CPF89A3 E | Operation not successful due to authority reasons. |
CPF89A4 E | Operation not successful due to data validation reasons. |
CPF9872 E | Program or service program &1 in library &2 ended. Reason code &3. |
CPF9A8D E | Error occurred with &5 API. Reason code is &1. |
Top | Office APIs | APIs by category |