Previous Topic

Next Topic

Book Contents

Book Index

%%$POOLSTORE

The %%$POOLSTORE function returns the source type of the pool Control-O storage. The valid format is

%%$POOLSTORE 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

In a non-Sysplex environment

DO SET %%DB_STOR = %%$POOLSTORE COSSTCSD

%%DB_STOR is set to DATABASE.

Example 2

In a Sysplex environment

DO SET %%DB_STOR = %%$POOLSTORE COSSTCSD

%%DB_STOR is set to SYSPLEX1.

Example 3

DO SET %%DB_STOR = %%$POOLSTORE $GLOBAL

%%DB_STOR is set to MEMBER.

Parent Topic

Functions