skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_describeProcedure/dam_decribeProcedureW
 

dam_describeProcedure/dam_decribeProcedureW

This function is called from the PROCEDURE function of the IP to find out about the stored procedure for which the IP has been called.
Pass in NULL for any descriptor in which you have no interest.
void dam_describeProcedure(
DAM_HSTMT hstmt,
char * pszCatalog,
char * pszOwner,
char * pszProcName,
char * pszUserData)

void dam_describeProcedureW(
DAM_HSTMT hstmt,
OAWCHAR * pszCatalog,
OAWCHAR * pszOwner,
OAWCHAR * pszProcName,
OAWCHAR * pszUserData)
Table 85. Parameters for dam_describeProcedure/dam_describeProcedureW
Parameter
Type
Description
IN
hstmt
DAM_HSTMT
The statement handle of the currently active statement.
OUT
pszCatalog
char *
OAWCHAR *
The qualifier as entered in the OA_PROC table. Pass in a buffer of 128 characters.
pszOwner
char *
OAWCHAR *
The owner as entered in the OA_PROC table. Pass in a buffer of 128 characters.
pszProcName
char *
OAWCHAR *
The name of the procedure. Pass in a buffer of 128 characters.
pszUserData
char *
OAWCHAR *
The OA_USERDATA as entered in the OA_PROC table. This can be any string that the IP wants to know about the procedure. Pass in a buffer of 256 characters.
RETURN
NONE