spool all_oco_versions.rslt 

set linesize 120;
set pagesize 1000;
set long 50;
set echo on;

break on "TABLE";

/* ****************************************************** */
/*                                                        */
/*  - Specify the version of the product.                 */
/*     - for use with CONTEXT CARTRIDGES                  */
/*                                                        */
/* ****************************************************** */

declare
version varchar2(20);
status varchar2(20);
begin
  ctx_info.get_info('CTX_INFO.OCO', :version, :status);
  dbms_output.put_line ('OCO version is '||version||');
  dbms_output.put_line ('OCO status is '||status||');
end;
/
set echo off;
spool off;
set long 80;
commit;









