简体   繁体   中英

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." in the status window.

I see options in preferences->Data Management->SQL Development->Routines->Deploy Options->SQL - External. By default this is populated with Build utility name: DSNTPSMP, in SYSPROC schema, but that is not something that exists in iSeries. Does anyone know the equivalent schema and program for that on an iSeries?

That setting is for deploying to z/OS, not 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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