Rational Developer for System z, Version 7.6

Setting up the initial z/OS build properties for a stored procedure

The data sets that are used to build a stored procedure on the z/OS® system have to be specified in the z/OS build properties.

The z/OS build properties can be specified for a particular stored procedure or a set of stored procedures. In the following example, the build properties are specified on a PDS so they apply to all stored procedures stored in this PDS. However, they can also be specified the same way on a member stored in the PDS.
  1. Open the COBOL Settings Properties page.
  2. Click the Use DB2 (contains EXEC SQL statements) check box.
  3. Expand the compilation procedure (ELAXFCOC, by default), double-click on the step (COBOL, by default), and enter the following settings:
    Compile Procedure Name: Name of your compilation procedure
    Compile Procedure Step Name: Name of the compilation step in your compilation procedure
    Listing Output Data Set: Name of the library in which the compiler listings of your stored procedures should be created. This data set is required for debugging of COBOL stored procedures.
    Object Deck Data Set: Name of the library in which the object decks of your stored procedures should be created.
    Copy Libraries: Name of the libraries containing the copy members that are referenced by your stored procedures.
  4. Specify the following settings:
    Database Request Module Location: Name of the library in which the DBRM of your stored procedures should be created.
  5. Open the PL/I Settings Properties page.
  6. Click the Use DB2 (contains EXEC SQL statements) check box.
  7. Expand the compilation procedure (ELAXFPL1, by default), double-click on the step (PLI, by default), and enter the following settings:
    Compile Procedure Name: Name of your compilation procedure.
    Compile Procedure Step Name: Name of the compilation step in your compilation procedure.
    Listing Output Data Set: Name of the library in which the compiler listings of your stored procedures should be created.
    Object Deck Data Set: Name of the library in which the object decks of your stored procedures should be created.
    Include Libraries: Name of the libraries containing the copy members which are referenced by your stored procedures.
  8. Click OK.
  9. Select Link Options from the list in the left frame and enter the following settings:
    Linkage Editor Procedure Name: Name of your link-edit procedure
    Linkage Editor Procedure Step Name: Name of the link-edit step in your link-edit procedure
    Link Libraries: Name of the Language Environment® Link Library and the DB2® Load Library
    Load Module Location: Name of the library in which the load modules of your stored procedures should be created.
  10. Click OK.
Once the stored procedure is created, the "Data sets for Build" editor page can be used to change the data sets required for a build. This page contains entry fields for the following:

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)