ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com. Request a Workshop for
your organization today.
Purpose
Internal agent support for DBMS_SCHEDULER
AUTHID
CURRENT_USER
Dependencies
DBMS_GSM_CLOUDADMIN
DBMS_ISCHED
DBMS_SCHEDULER
Documented
No
First Available
18c
Security Model
Owned by SYS with EXECUTE granted to GSMADMIN_INTERNAL
dbms_isched_agent.get_agent_registration_info(
hash OUT VARCHAR2,
expiration_date OUT TIMESTAMP WITH TIME ZONE,
max_uses OUT BINARY_INTEGER,
fail_count OUT BINARY_INTEGER);
set serveroutput on
DECLARE
hval VARCHAR2(60);
edval TIMESTAMP WITH TIME ZONE;
muval PLS_INTEGER;
fcval PLS_INTEGER;
BEGIN
dbms_isched_agent.get_agent_registration_info(hval, edval, muval, fcval);
dbms_output.put_line(hval);
dbms_output.put_line(edval);
dbms_output.put_line(muval);
dbms_output.put_line(fcval);
END;
/
-- in 21c returned 3A1AC9C81292FC1CF0B8A4015F04C0A3D21BAE2D
25-MAR-20 20.23.06.000000 AM +03:00
999
1 -- in 23c returns no values
dbms_isched_agent.set_agent_registration_info(
hash IN VARCHAR2,
expiration_date IN TIMESTAMP WITH TIME ZONE,
max_users IN PLS_INTEGER,
fail_count IN PLS_INTEGER);