While creating a procedure in V6R1, [strong]Not authorized to CREATE PROCEDURE error (Message ID is SQL0552)[/strong] appears. In Additional Message Information cause of the error being -- [strong]CREATE PROCEDURE or CREATE FUNCTION requires the *OBJOPR and *ADD authority to the catalog table SYSROUTINES in QSYS2[/strong].
However [strong]PUBLIC[/strong] has [strong]*CHANGE[/strong] Authority on [strong]QSYS2/SYSROUTINE[/strong] Object. Please note my id does not have *ALLOBJ Authority.
Software/Hardware used:
V6R1M0, iSeries 570
ASKED:
August 22, 2011 7:22 AM
UPDATED:
March 31, 2012 5:56 PM
Are any Authority Failure (T/AF) entries generated into the system audit journal? If so, do all of the reported values match up with your expectations? (For example, is the failing user profile reported as your profile?)
On the surface, *PUBLIC *CHANGE would seem to be sufficient.
Tom