#include "WorkingDialog.h"
pSgeWorkCallData getSgeWorkCallData(
Widget w,
long max,
char *serv,
char* db,
char* sproc,
int usage);
serv
, db
, or sproc
is NULL, the allocation will fail. If the Stored Procedure or DSQL Object is running, the allocation will fail. The parameter, w
, must be a valid Widget, or NULL. The parameter, max
, specifies the maximum number of rows to be returned per results group. A value of -1 indicates all rows. The parameter, usage
, specifies which mode the Stored Procedure or DSQL Object will use when executing. The only value is: NO_WP.
pSgeWorkCallData pSgeWCD;
pSgeWCD = getSgeWorkCallData(UxWidget, -1, "CEZANNE",
"pubs2", "StoreSalesProc", NO_WP);
if (pSgeWCD == NULL)
return;