How to create a map of a stored procedure result set
1  
2  
Choose FileNewMap.
3  
*
*
Figure 2-36  
Choose Next.
4  
*
*
*
To display stored procedures from a particular schema, type the first few characters of the schema name in Schema name prefix, for example, dbo. Do not append an asterisk, for example, dbo*. This filter is case-sensitive.
*
To display only stored procedures whose names begin with a particular string, type the string in Stored procedure name prefix, for example, ac. Do not append an asterisk, for example, ac*. This filter is case-sensitive.
*
*
Move the appropriate stored procedure name from Available to Selected.
Parameters For Stored Procedure appears.
*
*
In Statement, shown in Figure 2-37, correct the syntax if it is incorrect.
If you are using a configurable database type, check your JDBC driver documentation for the correct syntax.
Figure 2-37  
*
*
If necessary, choose the correct data type for each parameter from the Data type drop-down list. The Actuate SQL data type must be compatible with the native SQL data type.
*
*
Figure 2-38  
Choose OK. The name of the stored procedure appears in Selected, as shown in Figure 2-39.
Figure 2-39  
Choose Next.
5  
*
Move the appropriate result set from Available to Selected.
Result Set Name appears.
*
Figure 2-40  
Choose OK. The result set name appears in Selected. The result set columns appear in Data column preview, as shown in Figure 2-41.
Figure 2-41  
Choose Finish. A reminder appears. Choose OK.
The .epr and .sma file names appear in Navigator.
6  
*
Decide on column names before you build an information object from this map. Changing a column name after you build an information object results in a compiler error in the information object.
*
The Actuate SQL data type must be compatible with the native SQL data type.
*
To create a filter on a column, set the column’s Filter property to Predefined and choose Prompt editor to specify the filter’s prompt properties. Figure 2-42 shows Output Columns and the location of the Prompt editor button for the first column.
To define other column properties, select the column and define the properties in Properties.
Figure 2-42  

Additional Links:

Copyright Actuate Corporation 2012