A script-enabled browser is required for this page to function properly.

EXEC TOOLS GET CONTEXT Statement

An EXEC TOOLS GET CONTEXT statement obtains context information (a pointer name) previously saved using EXEC TOOLS SET CONTEXT and reads it into a foreign function.

Syntax

EXEC TOOLS GET CONTEXT context_name [, ...]
INTO :host_variable_1[, :host_variable_2, ...];

where:

context_name 

Specifies the name of the context you are saving.

host_variable_n 

Specifies the name of the host language variable into which you are reading the context value.

Notes:

The context_name can be a reference to one of the following items:

EXEC TOOLS GET CONTEXT statement: Examples

/*
** Example: Get previously saved context information
*/

EXEC SQL BEGIN DECLARE SECTION;
char *pctx;
EXEC SQL END DECLARE SECTION;
EXEC TOOLS GET CONTEXT appl_1 INTO :pctx;