The GET_ROUTINE_OPTS function returns a character string value of the options that are to be used for the creation of SQL procedures in the current session.
The schema is SYSPROC.
In a non-restrictive database, EXECUTE privilege is granted to PUBLIC when the function is automatically created.
The result of the function is a varying-length character string (VARCHAR) value with a length attribute of 1024.
SELECT GET_ROUTINE_OPTS()
FROM SYSIBM.SYSDUMMY1