The %%$POOLCOSMOS function returns the type of COSMOS database. The valid format is
%%$POOLCOSMOS cosmos_dbname
In this format, cosmos_dbname is the name of the COSMOS database, and is mandatory.
This function returns one of the following types:
Example 1
DO SET %%COSTYPE = %%$POOLCOSMOS COSSTCSD
%%COSTYPE is set to WOR KING.
Example 2
DO SET %%COSTYPE = %%$POOLCOSMOS $GLOBAL
%%COSTYPE is set to NONE.
Parent Topic |