The easy way to get the ddl of an dbms scheduler job is :

select dbms_metadata.get_ddl(‘PROCOBJ’,’JOB_NAME’,’JOB_OWNER’) from dual;

But what if the job owner is SYS? Will the same syntax work?

Throwing error!!!!

Well we have an workaround for this. Lets copy the scheduler job to another schema.

Now we have the sImilar job under the user DBACLASS, so we can get the DDL without any error.