CL Command Reference - CHGFCNUSG
CL Command List > CHGFCNUSG Reference
Description:
The Change Function Usage (CHGFCNUSG) command changes the allowed usage information of a registered function. Functions can be registered by using the Register Function (QSYRGFN) API.
Some functions provide other means to authorize users to the function. For example, a user that is not allowed to use the Service Trace (QIBM_SERVICE_TRACE) function will still be allowed to use the Trace Internal (TRCINT) command if they have service (*SERVICE) special authority.
Restrictions: You must have security administrator (*SECADM) special authority to use this command.
Examples:
CHGFCNUSG FCNID(QIBM_SERVICE_TRACE) DEFAULT(*DENIED)
USER(QSRVBAS) USAGE(*ALLOWED)
This command denies access to the QIBM_SERVICE_TRACE function for the default user. It also allows the QSRVBAS user profile to use the function.