DECLARE compat BOOLEAN := FALSE; BEGIN compat := DBMS_PDB.CHECK_PLUG_COMPATIBILITY(pdb_descr_file => '/tmp/pdb12.xml', pdb_name => 'pdb12'); if compat then DBMS_OUTPUT.PUT_LINE('Is pluggable compatible? YES'); else DBMS_OUTPUT.PUT_LINE('Is pluggable compatible? NO'); end if; end; /