如何查找函数的定义?

qufo 2006-01-24 11:14:22
我的一个ERP是PB 6.5 编写的
其中执行某些操作时会出错,出错的内容是函数 f_foo出错。
于是我打开ERP的目录,一个个打开文件查找,找到一个 pbl文件,里面有这么一行。

function long f_foo(long salesid,long genlack,long inputmanid) rpcfunc alias for "chk_pk.f_foo"

那么,是不是意味着这个函数在这个pbl文件中呢?

我用PB6.5打开此pbl,选择函数画板,可是里面并没有这个函数呀?

我要怎样才能找到此函数的定义?也就是函数体,我想看看他的执行过程,到底我在哪里出错了。
...全文
269 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
qufo 2006-01-24
  • 打赏
  • 举报
回复
回复人: wscft(努力工作,开心生活!) ( ) 信誉:95 2006-01-24 11:34:00 得分: 0


这应该是Oracle 数据库内的存储过程定义为前台外部函数的意思!


谢 ,立刻去找存储过程。
qufo 2006-01-24
  • 打赏
  • 举报
回复

可以保证不是API函数。

可是我不知道到哪去找函数的函数体。
wscft 2006-01-24
  • 打赏
  • 举报
回复
看帮助“rpcfunc”
RPCFUNC keyword (Recommended) Use the RPCFUNC keyword to declare the stored procedure as an external function or external subroutine. You cannot use the RPCFUNC keyword with Oracle stored procedures that return result sets. Using the RPCFUNC keyword to declare the stored procedure provides the best performance and has more supported features and fewer limitations than the DECLARE Procedure and PBDBMS methods.
wscft 2006-01-24
  • 打赏
  • 举报
回复
这应该是Oracle 数据库内的存储过程定义为前台外部函数的意思!
leio 2006-01-24
  • 打赏
  • 举报
回复
function long f_foo(long salesid,long genlack,long inputmanid) rpcfunc alias for "chk_pk.f_foo"
这个函数的申明不对吧?

看起来象是一个API函数,但缺少library关键字。

1,076

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧