I'm getting "Could not create catalog object: insufficient privilege; Not authorized" error when tried to Activate the procedure under Repository. The procedure which I'm trying to activate calls the RLANG procedure. I tried below options:
1. I commented the CALL to RLANG procedure. I was able to Activate the procedure with no issue
2. I created the procedure using SQL console with CALL to RLANG procedure (same code as in one I'm trying to create from Repository). It created the procedure successfully
I'm getting the error only while activating the procedure from Repository and calling RLANG procedure. Has any come across this issue? I think error is misleading. We've all necessary access for _SYS_REPO on schema and also has CREATE R SCRIPT system privilege setup.
Any help is greatly appreciated.
Thanks,
Milind