Appendix C. Class Definition Statement File Reference; File Format; Operators - IBM Enterprise Console Manual

Ibm enterprise console adapters guide
Table of Contents

Advertisement

Appendix C. Class Definition Statement File Reference

A class definition statement (CDS) file specifies SELECT, FETCH, and MAP
statements for all event classes supported by adapters that utilize a CDS file. This
provided file is required for most adapters and has the same format for all
adapters that use it. A CDS file has an extension of .cds; see each adapter chapter
for exact file names.

File Format

Most of the CDS file is composed of class definition statements. A CDS file has the
following format:
Comment lines begin with a number sign (#). For syntax reference information in
BNF notation, see "Class Definition Statement File Syntax Diagrams" on page 161.

Operators

Various operators are used in class definition statements, as follows:
v The PREFIX and SUFFIX operators are valid only for string attribute names,
v The CONTAINS operator is valid only on string values.
v The not equals (!=), greater than (>), greater than or equals (>=), less than (<),
The following is an example of the use of the operators. In this example, the code
is for an AS/400 message adapter:
© Copyright IBM Corp. 2002
map_default_clause
class_name
select_clause
fetch_clause
map_clause
values, or keys.
and less than or equals (<=) operators are applicable only to integer values; they
are not implemented for integer keys.
155

Advertisement

Table of Contents
loading

Table of Contents