You can use the New Package Variation wizard to create a new variation
of a SQL or SQLJ stored procedure package that targets DB2® for z/OS®.
Prerequisite: Before you can create a new variation for a SQL
or SQLJ stored procedure package, you must complete the following prerequisite
steps:
Using the New Package Variation wizard, you specify options for
a variation of an existing stored procedure package. You can specify a location
for the package variation, a collection ID, and bind options.
To create
a new variation of a SQL or SQLJ stored procedure package for DB2 for z/OS:
- In the Database Explorer, right-click the Packages folder
under a stored procedure in a DB2 for z/OS connection and click New. The New Package Variation wizard opens.
- Complete the steps of the wizard.
- Click Finish.
The wizard creates the new package variation for the stored procedure
and adds it to the Packages folder.