I am trying to pass multiple input parameters using prowin32 . But i am not able to find out the correct way of passing multiple parameters.
This is the code of my *.p file
define input parameter param1 as character no-undo.
define input parameter param2 as character no-undo.
message param1 param2
view-as alert-box.
and I am trying the below command in proenv
prowin32.exe -p D:\proj\myfolder\sample.p -param "1stValue","SecondValue" -clientlog D:\proj\myfolder\pf\lg.log
I tried removing the quotation marks of the input parameters but I am still getting error saying
mismatched parameters passed to the routine
Another Alternative is to use a Parameter "pf" file .
Prowin32.exe -pf c:\test\myprog.pf
Inside myprog.pf file
-p c:\test\mystartupProgram.p
-param "Param1, Param2, Param2"
-db myDB
-H localhost
-S 5000