简体   繁体   English

通过Data Studio为IBM i(iSeries)构建DB2存储过程失败

[英]Building Stored Procedure for DB2 for IBM i (iSeries) through Data Studio fails

When trying to Deploy a Stored Procedure for DB2 on IBM i (an iSeries) through Data Studio, it says "No Build Services found for routine." 尝试通过Data Studio在IBM i(iSeries)上为DB2部署存储过程时,它说“找不到用于例程的构建服务”。 in the status window. 在状态窗口中。

I see options in preferences->Data Management->SQL Development->Routines->Deploy Options->SQL - External. 我在首选项->数据管理-> SQL开发->例程->部署选项-> SQL-外部中看到选项。 By default this is populated with Build utility name: DSNTPSMP, in SYSPROC schema, but that is not something that exists in iSeries. 缺省情况下,在SYSPROC模式中以Build实用程序名称填充:DSNTPSMP,但这不是iSeries中存在的名称。 Does anyone know the equivalent schema and program for that on an iSeries? 有人知道iSeries上的等效方案和程序吗?

That setting is for deploying to z/OS, not IBM i. 该设置用于部署到z / OS,而不是IBM i。 Generally speaking, an External SQL routine on IBM i is an HLL, like RPG or Cobol that you'd create separately, and then issue the SQL 'CREATE PROCEDURE' statement to register the program as a stored procedure to DB2 for i. 通常,IBM i上的外部SQL例程是HLL,例如您将分别创建的RPG或Cobol,然后发出SQL'CREATE PROCEDURE'语句将程序作为存储过程注册到i2的DB2。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM