Kbase P100582: dynlaunch.i fails with error 3230 when try to run a PLIP on AppServer
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/28/2008 |
|
Status: Unverified
SYMPTOM(s):
dynlaunch.i fails to run a PLIP on AppServer
Mismatched parameter types passed to procedure <procedure>. (3230)
Two of the dynlaunch arguments have the same value
Using the same statements in DB-Bound mode it runs fine
Statement like this works fine on AppServer:
define variable vdParam1 as decimal no-undo.
define variable vdParam2 as decimal no-undo.
define variable vcParam3 as character no-undo.
{dynlaunch.i
&plip = 'dynsports/myPlip.p'
&iproc = 'MyPlipProc'
&mode1 = input &parm1 = vdParam1 &datatype1 = decimal
&mode2 = input &parm2 = vdParam2 &datatype2 = decimal
&mode3 = output &parm3 = vcParam3 &datatype3 = character
}.
This one fails because as for two arguments is used the same variable: vdParam1
{dynlaunch.i
&plip = 'dynsports/myPlip.p'
&iproc = 'MyPlipProc'
&mode1 = input &parm1 = vdParam1 &datatype1 = decimal
&mode2 = input &parm2 = vdParam1 &datatype2 = decimal
&mode3 = output &parm3 = vcParam3 &datatype3 = character
}.
3) This fails because the same value is used twice:
{dynlaunch.i
&plip = 'dynsports/myPlip.p'
&iproc = 'MyPlipProc'
&mode1 = input &parm1 = 0.0 &datatype1 = decimal
&mode2 = input &parm2 = 0.0 &datatype2 = decimal
&mode3 = output &parm3 = vcParam3 &datatype3 = character
}.
4) This works correctly:
{dynlaunch.i
&plip = 'dynsports/myPlip.p'
&iproc = 'MyPlipProc'
&mode1 = input &parm1 = 0.0 &datatype1 = decimal
&mode2 = input &parm2 = 0 &datatype2 = decimal
&mode3 = output &parm3 = vcParam3 &datatype3 = character
}.
FACT(s) (Environment):
Dynamics
CAUSE:
Bug# OE00113251
FIX:
Use launch.i instead of dynlaunch.i