On the Add Prepared Statements window, click Add.
Enter the name of a Prepared Statement or create a SQL statement by clicking in the SQL Statement window. If you are not logging into the VSAM database with the default user name, you must enter the Table schema name in the SQL Prepared Statement. When finished creating the statement, click Save As giving the statement a name.
This name will appear as a node in the OTD. Click OK (see the following figure).
On the Add Prepared Statement window, the name you assigned to the Prepared Statement appears. To edit the parameters, click Edit Parameters. You can change the datatype by clicking in the Type field and selecting a different type from the list.
Click Add if you want to add additional parameters to the Statement or highlight a row and click Remove to remove it. Click OK.
To edit Resultset Columns, click Edit Resultset Columns. The ResultSet Columns window appears (see the following figure).
Click Add to add a new ResultSet column. Both the Name and Type are editable.
Click OK to return to the Add Prepared Statements window.