I am working in 10g R2. I have created several SQL profiles in one oracle instance and would like to mmove them to another. Here is what have done so far:
I created the staging tabe to store the profile using:
EXEC DBMS_SQLTUNE.CREATE_STGTAB_SQLPROF (table_name => 'PROFILE_STGTAB')

Next I loaded the profile into the staging table:
EXEC DBMS_SQLTUNE.PACK_STGTAB_SQLPROF (profile_name => 'SYS_SQLPROF_0149f3c7edcdc000',
staging_table_name => 'PROFILE_STGTAB')

I exported the table and imported it into the other instance using datapump (not sure if this method matters, just want to provide all the facts)

now I am trying to unpack the profile from the staging table and load it using:
EXEC DBMS_SQLTUNE.UNPACK_STGTAB_SQLSET(table_name => 'PROFILE_STGTAB',
staging_schema_owner=>'schema_name')

I get the following error:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'UNPACK_STGTAB_SQLSET'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

the user I am logged in as has the priv. create any sql profile.