Previous Topic: Specifying When to Call Database ProceduresNext Topic: Executing Database Procedures


Link Editing Database Procedures

You must link database procedures as standalone modules. Database procedures linked with subschema modules are no longer supported.

Procedures Written in COBOL under z/VSE

For database procedures written in COBOL that will execute under z/VSE, assemble the following CSECT and catalog it into the appropriate relocatable library:

ILBDMNS0  CSECT
     DC X'FF'
     END

Assign to the CSECT a library member name other than ILBDMNS0 so that the CSECT will not be linked to all COBOL programs. This CSECT name must be included in the link edit of the COBOL database procedure. The procedure checks the field contained in this CSECT to establish the appropriate linkage with CA IDMS/DB.