Skip to content

ORA-32108: max column or parameter size not specified using several OUT parameters #152

Open
@enarvaez

Description

@enarvaez

I am having problems with this code, i am executing an ORACLE proc that has 2 in string parameters and 4 out parameters, 3 of those are strings and one is a ref cursor...

This is getting me this error (ORACE-32108) even when specificating the parameter size regarding strings. Is there a way to specify max column or what am i doing wrong in this code ...

p_merchantcode = '00030312152';
p_language = 'ESPA';
//
oraconn.execute("call IC_INTC_COMERCIO.ObtenerLiquidaComercioRefCur(:1,:2,:3,:4,:5,:6)",
[p_merchantcode, p_language,
new oracle.OutParam(oracle.OCCICURSOR),
new oracle.OutParam(oracle.OCCISTRING, {size: 1000}),
new oracle.OutParam(oracle.OCCISTRING, {size: 1000}),
new oracle.OutParam(oracle.OCCISTRING, {size: 1000})],
function (err, results) { .........

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions