识别 WLM 作业选择了我的存储过程
我们如何知道哪个 WLM 作业选择了我调用的 DB2 存储过程调用。我看到一些作业正在使用 DB2XWLM*
运行,其中 DB2X
是数据库区域。但是如何检查哪个特定作业占用了我的存储过程调用。
希望我说清楚了,如果有不清楚的地方请告诉我。感谢您的兴趣。
How could we know which WLM job has picked my DB2 stored procedure call invoked. I see some set of jobs are running with DB2XWLM*
where DB2X
is database region. But how to check which particular job had taken my stored procedure call.
Hope I made clear, please let me know if something is not clear. Appreciate your interest.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
通过在存储过程中给出一些“唯一的显示语句”并通过在 上创建显示语句,我们可以检查哪个 WLMjob 选择了该存储过程。
By giving few 'unique display statements' in the Stored procedure and by making the display statements on , we can check which WLMjob has picked the Stored procedure.
通常,存储过程在创建时会分配给一个区域。
如果您能够看到 CREATE PROCEDURE 语句的 DDL(也许通过 DB2 管理工具),应该有这样一行:
DB2SP3 将是您的存储过程所在的环境。我不确定它是否总是以这种方式工作,但值得检查。
Typically a stored procedure is assigned to a region when it's created.
If you are able to see the DDL for the CREATE PROCEDURE statement (perhaps through DB2 admin tool), there should be a line like:
DB2SP3 would be the environment your stored procedure lives in. I'm not sure that it always works this way, but it's worth checking.
转到作业输出,您可以在其中看到 SP 的显示语句。该 JCL 已指定 WLM。只要搜索WLM这个词就可以找到它。
Go to the job output where you can see display statements of your SP. That JCL has WLM specified. Just search for WLM word and you can find it.
我意识到这是一篇旧帖子,但这里是供将来参考的答案:
WLM_environment
是您正在寻找的列。(db2v11)
I realize this is an old post but here is the answer for future reference:
WLM_environment
is the column you are looking for.(db2v11)