Oracle stored procedure not working using CM for databases

Everything about Control-M Control Modules
Post Reply
User avatar
jstarkw
Nouveau
Nouveau
Posts: 58
Joined: 14 Jan 2010 12:00

Oracle stored procedure not working using CM for databases

Post by jstarkw » 01 Nov 2013 2:25

Hi,

When I run a simple analyze tables stored procedure for Oracle 11. I am getting the following oracle error.

ORA-00604: error occurred at recursive SQL level 1
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at line 17
ORA-20001: ORA-06502: PL/SQL: numeric or value error: character string buffer too small

I do not get this error when running the same procedure with the exact same input parameters, same owner, when i execute this from a SQL prompt.

Is there a control-m parameter causing this?

Klaus

Post by Klaus » 08 Nov 2013 10:44

Can you pls. discribe, how you create the parameters in CTRL/M?

Regards

Klaus

User avatar
jstarkw
Nouveau
Nouveau
Posts: 58
Joined: 14 Jan 2010 12:00

Post by jstarkw » 11 Nov 2013 10:05

Hi,
the input parameters are taken from the database module template. I entered the schema and package, pyulled the procedure from the drop down list.

Regards,

Klaus

Post by Klaus » 13 Nov 2013 2:40

You give one or more parameter-values to the template.
How did you create these values?
Are values generated in the "set-tab", or is the value constant?

If you generate the value in "set-tab", pls. discribe how you buildt it and how the parameter looks in the template.

Regards

Klaus

User avatar
jstarkw
Nouveau
Nouveau
Posts: 58
Joined: 14 Jan 2010 12:00

Post by jstarkw » 07 Feb 2014 5:52

Hi Klaus,

The stored procedure has no input parameters, Just called it from db madule. I beleive I have this resolved now. db module 7.1 has a known bug. BMC support provided this to fix my issue.

https://kb.bmc.com/infocenter/index?pag ... d=KA401009

Thanks,

Post Reply