Progress
Language Reference


PROC-HANDLE Function

Interfaces
OS
SpeedScript
All
All
Yes

Returns a value in the appropriate data type (usually INTEGER) that is a unique identifier for a stored procedure.

SYNTAX

PROC-HANDLE 

EXAMPLE

This procedure runs the stored procedure pcust and writes the procedure handle to the variable handle. It writes the results of the stored procedure identified by this procedure handle into the Progress-supplied buffer, proc-text-buffer, and displays it.

DEFINE VAR handle AS INTEGER.

RUN STORED-PROCEDURE pcust handle = PROC-HANDLE 
(10, OUTPUT 0, OUTPUT 0).
FOR EACH proc-text-buffer WHERE PROC-HANDLE = handle:
  DISPLAY proc-text.
END.
CLOSE STORED-PROCEDURE pcust WHERE PROC-HANDLE = handle. 

NOTES

SEE ALSO

CLOSE STORED-PROCEDURE Statement, PROC-STATUS Function, RUN STORED-PROCEDURE Statement


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095