Previous Topic

Next Topic

Book Contents

Book Index

%%$POOLTYPE

The %%$POOLTYPE function returns the type of pool in Control-O as defined in the list of pools to be loaded (DAGLBLST). The valid format is

%%$POOLTYPE gblvar_pname

In this format, gblvar_pname is the global variable pool name, and is mandatory.

This function returns one of the following types:

Example 1

DO SET %%DB_TYPE =%%$POOLTYPE COSSTCSD

%%DB_TYPE is set to TEMP.

Example 2

DO SET %%DB_TYPE =%%$POOLTYPE $GLOBAL

%%DB_TYPE is set to INOUT.

Parent Topic

Functions