← All errors

SQLCODE -552

SQL0552 Not authorized to operation

IBM message text
Not authorized to &1.
SQLCODE
-552
SQLSTATE
28000, 42502

Most common cause

The user cannot perform the operation. Each statement has its own requirement: CREATE TABLE needs *USE on the CRTPF command, CREATE VIEW and CREATE INDEX on CRTLF, CREATE SCHEMA on CRTLIB.

Other causes

  • Features that require a function usage (QIBM_DB_SQLADM, QIBM_DB_SECADM) or a special authority.

How to fix it

The message names the operation: grant the profile the authority it needs, or the function usage with CHGFCNUSG.

Related errors

Text and codes from IBM documentation for 7.6. Checked on .