I would like to call a procedure(RTVILN) within a service program (SRVCUS) from PHP. The procedure returns a value (numaric 13,0). How can I get it.
My code is.
$param[] = $ToolkitServiceObj->AddParameterChar('input', 2,'Divi', 'PrmDiv', $div);
$param[] = $ToolkitServiceObj->AddParameterChar('input', 5,'Sold', 'PrmSol', $sol);
$param[] = $ToolkitServiceObj->AddParameterChar('input', 4,'Ship', 'PrmShp', $shp);
$param[] = $ToolkitServiceObj->AddParameterChar('input', 5,'Dept', 'PrmDpt', $dpt)
$result= $ToolkitServiceObj->PgmCall('SRVCUS', "ACSCML", $param, null , array('func'=> "RTVILN") );
Thanks
I