The BROKER SCHEMA statement is optional; use it in an ESQL file to explicitly identify the schema that contains the file.
>>-+---------------------------+--+----------------------+--esqlContents->< '-BROKER SCHEMA--schemaName-' '-PATH--schemaPathList-' schemaName .-< . <----------. V | |--------identifier---+-----------------------------------------| schemaPathList .-< , <----------. V | |--------SchemaName---+-----------------------------------------| esqlContents .-<<---------------------------. V | |------+-createFunctionStatement--+-+---------------------------| +-createModuleStatement----+ +-createProcedureStatement-+ '-DeclareStatement---------'
An ESQL schema is a named container for functions, procedures, modules, and variables. ESQL schema is similar to the namespace concept of C++, XML, and .NET, and to the package concept of Java™.
In the absence of a BROKER SCHEMA statement, all functions, procedures, modules, and constants belong to the default schema. The default schema is similar to the default namespace in C++, the no-target namespace in XML Schema, and the default package in Java.