Hi All,
I am calling DB2 stored procedures within VFP6 prgs.
When I issue my call inside DB2 command center, it works but calling withing VFP6 gives me errors without any clue.
From DB2 command Center:
Call Get_MonthSum ('B1','2006-05-01','2006-05-31',?,?)
From VFP6:
lcDB2Call= " Call Get_MonthSum(?m.lcBranch, ?m.ldDateStart, ?m.ldDateEnd,?@lnReturnCode,?@lcMsg);"
Then I execute:
=sqlexec(gnConn, lcDB2Call,'MonthSum')
Since I don't have any specific error message here, can somebody point me to a good source(clues/hints) that describes DB2 SP calls within VFP?
Foxbldr
I am calling DB2 stored procedures within VFP6 prgs.
When I issue my call inside DB2 command center, it works but calling withing VFP6 gives me errors without any clue.
From DB2 command Center:
Call Get_MonthSum ('B1','2006-05-01','2006-05-31',?,?)
From VFP6:
lcDB2Call= " Call Get_MonthSum(?m.lcBranch, ?m.ldDateStart, ?m.ldDateEnd,?@lnReturnCode,?@lcMsg);"
Then I execute:
=sqlexec(gnConn, lcDB2Call,'MonthSum')
Since I don't have any specific error message here, can somebody point me to a good source(clues/hints) that describes DB2 SP calls within VFP?
Foxbldr